87 students decided to collect votes to save the town trees from being cut down. 50 students collected 12 votes while the rest collected 25 votes. How many votes did the students collected altogether ?