Task: Mathematics
Input (English): 7107 @ 8007 # 1835 # 1412 # 8195 @ 4069 # 7971 @ 9918
Output (English): 9688