for(i=-9;i++<8;print("CHRISTMAS".substring(i,i+9)))for(j=i;j-->0;)putstr(" ")