Task: Mathematics
Input (English): 9696 # 5256 # 9607 @ 8110 @ 7694 # 5781 # 8918 @ 7720
Output (English): 3658