Task: Mathematics
Input (English): 9982 @ 267 # 3418 @ 8741 # 63 # 1771 @ 4720
Output (English): 18458