Task: Program Execution
Input (English): z, N, w
Output (English): 1, 2, 3