Oleg collected a bag of coins. Sasha counted them, and it turned out that if all the coins were divided into five equal piles, there would be two extra coins. And if divided into four equal piles, there would be one extra coin. At the same time, the coins can be divided into three equal piles. What is the smallest number of coins Oleg could have had?
If you add 3 coins, the resulting number of coins will be divisible by 3, 4, and 5, that is, by 60.

## Answer

57 coins.

Problem