Task: Mathematics
Input (English): 9971 # 4657 # 5577 @ 7674 @ 7001 # 358
Output (English): 14054