the resolution for http://www.pythonchallenge.com