Task: Program Execution
Input (English): y, A, 8247, A, 745, C, 4321, 8633, C, L, 9717, 8985
Output (English): 40648