Level:
Project ID:
2000019202
Accepted:
0
Clonable:
0
Easy:
0
People in Kocourkov pay by coins named groschen. Their coins are worth , or groschen. Martin and Petr, who live in Kocourkov, emptied their saving boxes and started counting their saved coins. They found out that Petr had pieces of each type of a coin more than Martin, who had coins in total. They were surprised to find out that Martin has the same number of -groschen and -groschen coins in total as Petr has of -groschen ones. Petr was proud to have groschen more than Martin, who was only short of having groschen. How many coins did Martin have?