Task: Mathematics
Input (English): 9879 # 8585 @ 4078 # 6210 @ 7239 @ 3002 # 2455 @ 9817
Output (English): 16765