Task: Program Execution
Input (English): F, 9697, I, 7719, M
Output (English): 2, 4