Task: Mathematics
Input (English): 6218 @ 1401 @ 8350 @ 4533 # 6633 # 6672 # 6623
Output (English): 574