Task: Program Execution
Input (English): Q, 7877, y, 685, a, Q, A
Output (English): 7877, 685