Task: Program Execution
Input (English): 1427, L, 1737, L, 1939, 7255, 5575, M, 633, 627, 5985, b, 7385
Output (English): L, L, M, b