Task: Program Execution
Input (English): 4959, M, 5969, 5543, N, U, h, X, 7923, 4573, 983, f, X, e, 1503, g, 1927, 721
Output (English): M, N, U, h, X, f, X, e, g, 4959, 5969, 5543, 7923, 4573, 983, 1503, 1927, 721