Andrey's submission of Array Transform | CodeChef