Task: Program Execution
Input (English): P, N, Z, 8309, R, 8879, z, p, d, a, 6533, 2933, 239, 1289, c, d
Output (English): 4, 6, 11, 12, 13, 14