Task: Program Execution
Input (English): 5721, E, 1849, 5829, 2413, 4711, 3445, C, S, 8577, 5703, l, a, z, F, 1935, X, d, M, 5057, 3807, P
Output (English): 5721, 1849, 5829, 2413, 4711, 3445, 8577, 5703, 1935, 5057, 3807