A jar contains 50 coins, all either 2 cents or 5 cents. The total value of the coins is $1.87.
How many 2 cents coins are there?