Task: Program Execution
Input (English): 8707, 2439, 379, 1853
Output (English): 0