Davenport's problem on set addition