Kate has x quarters and y dimes, a total of 16 coins. She exchanges the x quarters for the number of dimes equal in value to x quarters. She also exchanges the y dimes for the number of quarters equal in value to y dimes. After these exchanges, how many coins does she have?
(Source: Adapted from Mathematics Teaching in the Middle School, Mar-Apr 1997).