Task: Program Execution
Input (English): 1061, 5849, a, 2539, f, 8867, V, E, 1695, 4729, 8741, 1299, E
Output (English): 1061, 5849, 2539, 8867, 1695, 4729, 8741, 1299