A bag has Rs 20 in the form of 1rupee, 50paise and 10paise coins in the ratio of 2:3:5. Find the number of 50paise coins.