Task: Program Execution
Input (English): 3899, 5163, o, Q, 5749, M, 2169, 4277, 4613, 6775, U
Output (English): o, Q, M, U