Mayank Tuteja's submission of The powerful 2 | CodeChef