Task: Mathematics
Input (English): 8677 @ 560 # 4864 @ 1843 @ 9750 @ 9570 @ 4287
Output (English): 29823