Rosetta Problems

Beginner Free Contest 9 - DANCING

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