Task: Program Execution
Input (English): 1871, J, 8215, O
Output (English): 10086