1243: Array Transformation

Problem Statement