Task: Program Execution
Input (English): 8007, F, 519, 1743, V, 4665, M, 1645, b
Output (English): 16579