Task: Program Execution
Input (English): A, 283, 9375, y, 6629, d, M, 1499, f, A, F
Output (English): 17786