Task: Program Execution
Input (English): 8485, M, 7319, 195, F, 9127, A, O, 4729, 3227, 3713, 9045
Output (English): 4