Task: Mathematics
Input (English): 3900 # 6846 # 255 # 1980 # 1631 # 2276 @ 1407 @ 9864 @ 3606
Output (English): 5789