Ankan's submission of REPEAT | CodeChef