Task: Mathematics
Input (English): 6536 # 934 @ 2234 @ 798 # 8891 @ 1378 @ 3988
Output (English): 5109