Task: Mathematics
Input (English): 1449 # 5549 @ 4484 @ 6574 @ 5348 @ 8751 # 2397
Output (English): 18660