If you add 7 to a certain number, multiply the sum by 3, and subtract 47 from the product, you get the original number. What is the number?.