Task: Program Execution
Input (English): Q, 3189, A, 4045
Output (English): Q, A