import std.stdio;void main(){int m,n;for(write("Gray code n=",n=getchar%8);m<1<