Task: Mathematics
Input (English): 4779 # 3098 @ 3966 # 846 @ 6101 # 9736 # 5118 @ 7342
Output (English): 3390