Ricardo ended up with 18 golf balls. If he lost 4 on the course today, he then had 22 to start with today. This 22 total includes a box of 12 balls he bought today. This means he had 22 - 12 yesterday, making 10. Yesterday he lost 6 while playing. Ricardo had 16 balls to start with.