Task: Program Execution
Input (English): 9185, A, x, 9249, M, 3073, 7065, q
Output (English): A, x, M, q