Task: Mathematics
Input (English): 2670 @ 5855 @ 4145 @ 6193 # 2327 # 3390 # 6122 # 4535
Output (English): 2489