Ankan's submission of Q1 | CodeChef