Task: Program Execution
Input (English): 9487, 427, 3669, D, 8761, 2659, 279, 8783, 7981, X, 7363, I
Output (English): 49409