Task: Mathematics
Input (English): 7774 # 6714 @ 7 @ 4659 @ 3825 # 7788 @ 2232
Output (English): 3995