pranay varma's submission of Turn It | CodeChef