Task: Program Execution
Input (English): i, o, 1321, I, W, e, 1201, I, e, F, 9841, m, 9827, q, f, X, 8261
Output (English): 30451