A bag contain 1-rupee, 50-paisa and 25-paisa coins in the ratio 5:6:7. If the total amount is Rs.780