Task: Program Execution
Input (English): 8221, 2765, 4681, 1707, 4675, 5257, 7503, Z, Q, 7043, M
Output (English): 8221, 2765, 4681, 1707, 4675, 5257, 7503, 7043