The sum of two numbers is 4. The sum of their squares is 18. WHat is the smaller of the two numbers?