#!/usr/local/bin/python3 for i in range(1000000): next(filter(lambda n: n == 1, iter((0,0,0,0,1,0,0,0,0))))