Task: Mathematics
Input (English): 7763 # 6614 @ 7758 @ 9277 # 2497
Output (English): 15687