Task: Mathematics
Input (English): 6357 # 316 @ 4102 @ 4294 # 894 @ 2616 @ 4587 # 1885 # 7215
Output (English): 11646