Jordan is thinking of a number. If he subtracts 5 from the number and then multiplies the result by 3, he gets 36. What is Jordan's original number?