Task: Program Execution
Input (English): 4097, 2887, L, 1831, 6835, X, 4357, 909, 907, 6107, Y, 4043, F, A, E, F, 7201, K, L, M, 2905, 9759, S, 1997
Output (English): 4097, 2887, 1831, 6835, 4357, 909, 907, 6107, 4043, 7201, 2905, 9759, 1997