Task: Mathematics
Input (English): 8102 # 8751 @ 2221 @ 2184 @ 1564 @ 3629 @ 9987 @ 2840
Output (English): 21776