Ramani has 3 times as many two -rupee coins as she has five- rupee coins . If she has in all a sum of Rs.77 , then how many coins of each denomination does she have ?