for(n=readline(i=r=-1);++r<5*n;print(s))for(s=c='';c<10*n;)s+=145536>>(r/n|0)*5+(c++/n>>1)&1?' ':'Easterhegg'[++i%10]