Task: Mathematics
Input (English): 1808 # 5352 # 8697 @ 5058 @ 8777 @ 8089 # 9688 @ 9784
Output (English): 9779