Rosetta Problems

Free Contest 150 - HEIGHT

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