Task: Program Execution
Input (English): 2473, q, 9413
Output (English): 2