use strings.Fields

Go
more Point in Circle, Prime Numbers

Go