Task: Program Execution
Input (English): 6359, 625, I, Q, 6345, 779, 1149
Output (English): 2