Task: Mathematics
Input (English): 8940 # 8401 @ 7842 # 1946 @ 8480 # 2669 # 809 @ 973
Output (English): 12410