Task: Mathematics
Input (English): 985 # 1708 # 5868 @ 2171 @ 5274 @ 2463 # 3062 @ 3540
Output (English): 3795