saegusa's submission of Array Transform | CodeChef