Task: Program Execution
Input (English): a, Q, 2657, T, j, c, h, X, M, 1787, O, 9941, 6233, R, X, l, 4709
Output (English): 2657, 1787, 9941, 6233, 4709