John and Miles each had some money. First Miles gave John a quarter. Then John gave Miles one-third of his money. Then Miles gave John one-third of his money. At the end, John had $2.50 and Miles had $2.00. How much did they each start with?