Task: Mathematics
Input (English): 7046 # 2672 @ 4644 # 5206 @ 7252 @ 9785
Output (English): 20849