Task: Program Execution
Input (English): N, m, 6849, e, F, 1433, 7277, u, 4625, V, 1105, 5767, q, z, F, 3829, V, N, 3129, 7887, 8899, G
Output (English): 6849, 1433, 7277, 4625, 1105, 5767, 3829, 3129, 7887, 8899