Task: Mathematics
Input (English): 8695 # 5705 @ 957 # 7767 @ 7907 @ 2779 # 8531 @ 4709
Output (English): 3044