problem1 was solved