Task: Program Execution
Input (English): 1743, 2719, R, I, 5795, m
Output (English): 10257