A player gets a "cap" each time they play for their national team.
The players in Team A have a total of 36 caps. The players in Team B have a total of 12 caps. Mel moves from Team A to Team B.
Now, the players in Team A have twice as many caps in total as the players in Team B.
Work out how many caps Mel has. ​