Shivam Mittal's submission of Beautiful Arrays | CodeChef