Samuel has 10 coins that add up to $3.80. Some are 50 cent and the rest are 20 cent coins. How many 50 cent coins does he have?