got the answer but not the solution
solved 5