Solve 37 quick and dirty in python.