for(;Q=readline();print())for(F in Q)Q[F]>{}&&putstr('CHRISTMAS'[F])