solved problelm 101