Fatimah has 40 coins. Some of the coins are 50c coins and the rest are 20c coins. The total value is $16.10. How many 50c coins does Fatimah have?