Task: Mathematics
Input (English): 6796 # 5118 @ 4061 @ 2573 # 7960 @ 5889 # 7812 @ 3174
Output (English): 1603