#!/usr/local/bin/python2 for i in xrange(100000): for j in range(10)[::-1]: if j == 7: break