Task: Mathematics
Input (English): 2421 # 8735 @ 7270 @ 741 # 5249 @ 1763 # 646 @ 4175
Output (English): 1740