Task: Program Execution
Input (English): 5951, Q, 1491, 5495, 7701
Output (English): 1