manas agrawal's submission of Array Transform | CodeChef