This morning at the bus stop you noticed you had 5 coins in your pocket. They were all dimes. When you got to school, you checked in your pocket again. You found that the number of dimes had doubled! When you checked your other pocket, you found a note. It said that the number of coins in your pocket would double one more time before lunch. Sure enough, when you went to lunch, you checked in your pocket and found the number of coins had doubled again!

How many coins did you have at lunch time and how much were they worth? Tell how you figured it out.