n="$System.in".toLong() i=0 5.times{r->n.times{println~(0..4).sum{c->(0..<2*n).sum{1137>>r*5+c-7&1?' ':'Easterhegg'[i++%10]}}}}