Task: Mathematics
Input (English): 6506 # 8715 @ 5800 @ 1904 @ 3642
Output (English): 9137