solved problem 359 :D