Rosetta Problems

Beginner Free Contest 28 - AGRTREE

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