Solved problem 37
Solved 49th problem and gosh, this is so fast and gosh, this is so ugly…