Task: Program Execution
Input (English): N, 5385, 1409, i, 2867, 9595, i, v, 5699, 3373, 4195, 7265
Output (English): N, i, i, v, 5385, 1409, 2867, 9595, 5699, 3373, 4195, 7265