[Python] Don't waste time on TLE if you are using python


#1

Don’t waste time on optimization, it won’t pass neither wiht py2 nor with py3.
Compare with solution provided in editorial for correctness.