Jay found a number. He told his friend that if he subtracts 2 from this number and then multiplies the result by 3, he gets 15. What is the number?