Task: Mathematics
Input (English): 8837 @ 5603 @ 1199 # 3594 @ 1489 @ 5302
Output (English): 18836