Task: Program Execution
Input (English): 4847, 1869, 9707, 7035
Output (English):