Task: Program Execution
Input (English): 6713, E, 4317, 2903, q
Output (English): 3