Task: Program Execution
Input (English): 4215, o, 2119, M, 8311, M, 5681, 6135, F, 1553, o, 9049
Output (English): 7