Task: Mathematics
Input (English): 7918 # 6743 @ 3354 @ 5679 # 5295 @ 8542 @ 5314 # 1319 # 4600
Output (English): 12850