Task: Mathematics
Input (English): 9757 # 709 @ 5670 @ 5915 @ 2765 # 3574 @ 4337
Output (English): 24161