Golang solution for 10