solution for problem 153