Task: Mathematics
Input (English): 3681 @ 1303 @ 5556 @ 9895 # 5012 # 6662
Output (English): 8761