Task: Mathematics
Input (English): 3638 @ 2694 # 6414 @ 1826 @ 8297 # 4437 # 274
Output (English): 5330