Rosetta Problems

Beginner Free Contest 52 - TOYS

https://oj.vnoi.info/problem/fcb052_toys