$<.map{|a|9.times{|c|a[c]>?Z&&$><<'CHRISTMAS'[c]};puts}