Task: Mathematics
Input (English): 7031 # 3433 @ 1651 # 1450 @ 247 # 1837 # 3521 @ 5812 @ 4991
Output (English): 9491