Task: Mathematics
Input (English): 267 @ 2731 # 1418 # 6900 # 4389 @ 2352 @ 8386
Output (English): 1029