Task: Mathematics
Input (English): 6390 @ 4138 @ 2478 # 2353 # 4642 # 2361 @ 814 # 4203 @ 3590
Output (English): 3851