Task: Mathematics
Input (English): 6900 @ 2584 # 6980 # 4270 @ 3807 @ 5629 # 5854
Output (English): 1816