Task: Mathematics
Input (English): 8444 @ 1488 # 3500 @ 1310 # 2108 # 6456 @ 7198 # 5405
Output (English): 971