A piggy bank has only rupees 1 and 50 Paise coins. If there are 3 times as many 50 Paise coins as rupees 1 and the total amount is rupees 35. How many coins of each kind are there