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