Task: Program Execution
Input (English): e, 6083, W, 7037, 7989, 9257, B
Output (English): 30366