Taranpreet Singh's submission of Beautiful Array | CodeChef