Task: Mathematics
Input (English): 7882 # 4233 @ 1322 # 5458 @ 6968 @ 8580 @ 7016 # 4412
Output (English): 17665