Task: Program Execution
Input (English): 2863, 4287, o, 2501, f, R
Output (English): 9651