Task: Program Execution
Input (English): N, 1401, V, 1009, f, Z, O, I, 7419, t, a, s, Q, 8203, g, 7471, 8145, 1095, 1145, O, Y, p, 8393, 339
Output (English): 1, 3, 5, 6, 7, 8, 10, 11, 12, 13, 15, 20, 21, 22