Task: Mathematics
Input (English): 1108 # 373 @ 2508 @ 8824 # 1209 # 1296 # 5049 # 2633 @ 1698
Output (English): 3578