Rosetta Problems

Beginner Free Contest 46 - FENCES

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