problem 1 in go