Task: Program Execution
Input (English): F, O, 4259, 3247, 1423, 775, 4613
Output (English): 2