Time limit exceeded in Python
:-|