solution for problem 134
solution for problem 156