Task: Program Execution
Input (English): F, 3311, 5127, 4851, f, 1917
Output (English): 2