Task: Program Execution
Input (English): e, 9549, m, 4155, q, p, 491, C, 1173, 829, 5307, Z
Output (English): 9549, 4155, 491, 1173, 829, 5307