Task: Program Execution
Input (English): G, 4521, 7863, 7739, h, 8851, X, X, a, 8375, 5121, 5503, x, 5185, X, L, N, o, 1829, 4891, M, i, I, E
Output (English): 4521, 7863, 7739, 8851, 8375, 5121, 5503, 5185, 1829, 4891