Task: Mathematics
Input (English): 3782 @ 4127 # 1265 # 1395 @ 2430 @ 6990 @ 8573 @ 8170
Output (English): 31412