<s> import itertools <EOL> its = [ ] <EOL> its . append ( itertools . count ( <NUM_LIT:5> ) ) <EOL> its . append ( itertools . cycle ( [ <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> ] ) ) <EOL> its . append ( itertools . repeat ( <NUM_LIT> ) ) <EOL> its . append ( itertools . chain ( [ <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> ] , itertools . repeat ( <NUM_LIT:5> ) ) ) <EOL> its . append ( itertools . compress ( itertools . count ( ) , itertools . count ( - <NUM_LIT:3> ) ) ) <EOL> for i in xrange ( <NUM_LIT:10> ) : <EOL> for it in its : <EOL> print it . next ( ) , <EOL> print <EOL> print list ( itertools . dropwhile ( lambda x : x == <NUM_LIT:0> , reversed ( ( <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> ) ) ) ) <EOL> print list ( itertools . product ( range ( <NUM_LIT:4> ) , range ( <NUM_LIT:4> ) ) ) </s>
