Task: Mathematics
Input (English): 278 # 4015 # 8196 # 7248 @ 6551 @ 7151 @ 6451 @ 1593 @ 436
Output (English): 3001