solve problem 1
solve problem 2
solve problem 3
solve problem 4
solve problem 5