Yash Chandnani's submission of Beautiful Array | CodeChef