apple pie's submission of Dance Moves | CodeChef