Task: Mathematics
Input (English): 1957 # 6064 # 400 # 5045 @ 8329 @ 7257 @ 9000 # 1201 @ 533
Output (English): 14366