The sum of two numbers is 45, and the larger number is 3 more than the smaller number. What is the smaller number?

24
21
18