sl170030258's submission of Beautiful Arrays | CodeChef