Task: Program Execution
Input (English): 7545, 3031, 9579, 4447, 1679, 6143, Q
Output (English): 6