Task: Program Execution
Input (English): m, M, 5603, U, 5067, 7431, L, 7339, 5197, C, B, 2367
Output (English): 1, 2, 4, 7, 10, 11