problem1 with solution