Rosetta Problems

Beginner Free Contest 14 - QUAYTRON

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