Zhang Yide's submission of Beautiful Array | CodeChef