Task: Program Execution
Input (English): 8843, Q, 4159, 8443, 3617, 6419, X, 755, 6019
Output (English): 2