Task: Mathematics
Input (English): 9723 @ 277 # 8193 @ 7139 # 5869 @ 1829 # 1888 @ 3618
Output (English): 6636