add givensum problem