Task: Program Execution
Input (English): p, 8129, Z, q, P, 6983, 9435, 6315, 2901, 4637, 7405, i, 6023, V, q, 919, R
Output (English): 1, 3, 4, 5, 12, 14, 15, 17