solved problem 171 :)