Task: Program Execution
Input (English): N, 8825, v, 5267, i, k, M, z, 4141, F, V, e, b, 6703, g, 2775, 3621
Output (English): 8825, 5267, 4141, 6703, 2775, 3621