Fazal's submission of A Puzzle | CodeChef