Task: Program Execution
Input (English): 7639, 1745, 5301, 2273, J
Output (English): 7639, 1745, 5301, 2273