solve problem 1 result