import std.stdio;void main(){int n=getchar&7;write("Gray code n=",n);foreach(i;0..1<