Task: Program Execution
Input (English): Q, m, 4743, Z, N, 2571, o, 5183, 7311, 9421, W, T, i, 259, 8577, S, 2689, 2595, 635, 1573
Output (English): 4743, 2571, 5183, 7311, 9421, 259, 8577, 2689, 2595, 635, 1573