Kalyan's submission of Beautiful Arrays | CodeChef