Task: Program Execution
Input (English): u, 4253, J, 749
Output (English): 5002