Shawn is thinking of a number in his head. If he subtracts 8 from the number and divides the resulting number by 3, he gets 12. What was Shawn's original number?