import std.stdio;void main(){char a=getchar;write("Gray code n="~a);foreach(b;0..1<