Task: Program Execution
Input (English): O, 7843, 2657, 1971, 783, t, u, 5619, 3543, 1637, 4037, 3029, J
Output (English): O, t, u, J