Task: Mathematics
Input (English): 9817 @ 5042 # 1724 @ 799 @ 685
Output (English): 14619