i,j;main(n){printf("Gray code n=%d",n=getchar()-48);for(;puts(""),i<1<>1)>>j&1));}