#include<stdio.h>
#include<string.h>
int main(){
       char str[101];
       scanf("%s",str);
       int x,c=0,t;
       x=strlen(str);
       for(int i=0;i<x;i++){
              for(int j=0;j<x;j++){
              if(str[i]>str[j])
              {
                     t=str[i];
                     str[i]=str[j];
                     str[j]=t;

              }
          }
       }
       for(int i=0;i<x;i++){

          if(str[i]==str[i+1]){
                     c++;

              }
       }
       int y;
       y=x-c;
       if(y%2==0)
       printf("CHAT WITH HER!");
       else
       printf("IGNORE HIM!");
       return 0;

}

#include<stdio.h>
#include<string.h>
int t[30];
int main(){
 char s[102];
 int i,count=0;
 scanf("%s",s);
 for(i=0;s[i]!='\0';++i){
	 t[s[i]]++;
	 }
	 for(i='a';i<='z';++i)if(t[i]) count++;
	 if(count%2) printf("IGNORE HIM!");
	 else printf("CHAT WITH HER!");
	}

#include<stdio.h>
int main()
{
    int score=0,sum=0;
char name[101];
char aux='a';
scanf("%s",name);
for (int i=0;i<strlen(name)-1;i++)
{
    for (int j=i+1;j<strlen(name);j++){

            if(name[i]>name[j]){
                aux=name[i];
                name[i]=name[j];
                name[j]=aux;
            }
            }

    }
    for (int i=0;i<strlen(name)-1;i++)

            if(name[i]!=name[i+1]){
                ++score;
            }

--score;
    if(score %2==0){
       printf("CHAT WITH HER!");
    }else
    printf("IGNORE HIM!");

    return 0;
}

/*wjmzbmr
xiaodao
sevenkplus
*/

#include <stdio.h>
#include <string.h>

int main(){
    char s[101];
    int n,nb,nb1,i,j ;
    scanf("%s",&s);
    n=strlen(s);
    nb=0;
    for (i=0 ; i<n ; i++){
            nb1=0;
            for (j=i+1 ; j<n ; j++){
                if (s[i]==s[j])
                    nb1++;}
                if (nb1==0)
                        nb++;}
                    if(nb%2==0)
                        printf("%s" ,"CHAT WITH HER!");
                    else printf("%s" ,"IGNORE HIM!");

    return 0;
}

#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
int main(){
 char s[103];
 scanf("%s",s);
 int i,j,a,count=0;
 a=strlen(s);
 for(i=0;i<a-1;++i){
	 for(j=i+1;j<a;++j){
		if(s[i]==s[j]){
			 count++;
			 break;}
		 }
	 }

 if((a-count)%2) printf("IGNORE HIM!");
  else printf("CHAT WITH HER!");
}

#include<stdio.h>
#include<string.h>
int main()
{

    char ch[1000];
    gets(ch);
    int l=0,k=0,i,j,temp=0,y=0,p=0;
    l=strlen(ch);
    for(i=0;i<l;i++)
    {

        for(j=i+1;j<l;j++)
        {

           if(ch[i]>ch[j])
            {
                p=ch[i];
                ch[i]=ch[j];
                ch[j]=p;
            }

        }
    }
    for(i=0;i<l;i++)
    {
        temp=0;
        for(j=i+1;j<l;j++)
        {

            if(ch[i]==ch[j])
            {
                temp++;

            }

        }
        if(temp==0)
        {
            y++;
            }
    }

    if(y%2!=0)
    {
        printf("IGNORE HIM!\n");
    }
    if(y%2==0)
    {
        printf("CHAT WITH HER!\n");
    }

    return 0;

}

#include<stdio.h>
#include<string.h>
#include<math.h>
int main(){
char str[102];
scanf("%s",str);
int i;
int freq[26];
for(i=0;i<26;i++){
    freq[i]=0;
}

int k,l;
int count=0;

l=strlen(str);

     for(i=0;i<l;i++){
        if(str[i]>='a' && str[i]<='z'){

            freq[str[i]-97]++;
        }
     }

     for(i=0;i<26;i++){
        if(freq[i]!=0){
            count++;

        }
     }
    k = count;

    if(k%2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("IGNORE HIM!");
    }

}

main(){char z[72];scanf("%s",z);int a=strlen(z),i,j;for(i=0;i<strlen(z);i++)for(j=i+1;j<strlen(z);j++)if(z[i]==z[j]){a--;break;}puts(a%2?"IGNORE HIM!":"CHAT WITH HER!");}

#include<stdio.h>
int main()
{int i,j,k,n,c;
char a[100];
while(scanf("%s",a)!=EOF)
{for(i=0;a[i]!='\0';i++);
for(j=0;j<=i;j++)
for(k=j,n=0;k<=i;k++)
if(a[j]<a[k])
{c=a[j];
a[j]=a[k];
a[k]=c;}
for(j=0,k=0;j<=i-1;j++)
if(a[j]!=a[j+1])
k++;
if(k%2==0)
printf("CHAT WITH HER!\n");
else
printf("IGNORE HIM!\n");}
return 0;
}

#include <stdio.h>
#include <string.h>
main()
{
    char s[102];
    gets(s);
    int c,k,i;
    c=1;
    for(i=1;i<strlen(s);i++)
    {
        c++;
        for(k=0;k<i;k++)
        {
           if(s[i]==s[k])
           {
               c--;
               break;
           }

        }

    }

    if(c%2==0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }
    return 0;
}

//
//  main.c
//  codeforces2
//
//  Created by Ashish on 10/1/15.
//  Copyright (c) 2015 Ashish. All rights reserved.
//

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include<math.h>

int main()
{
        int c=0,i,f,j,l;
        char a[100];
        gets(a);
        l=strlen(a);
        for(i=0;i<l;i++){
            f=0;
            for(j=i+1;j<l;j++){
                if(a[i]==a[j])
                    f=1;
            }
            if(f!=1)
                c++;
        }
        if(c%2==0)
            printf("CHAT WITH HER!\n");
        else
            printf("IGNORE HIM!\n");
        return 0;

}

#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main()
{
    char str[100]={'0'};
    int i,j,len,tmp=0,check=0;
    int ck[26]={0};

        while(scanf("%s",&str)==1){
        tmp=0;
        len=strlen(str);
        check=0;

            for(i=0;i<len;i++){
                tmp=str[i]-97;
                ck[tmp]++;
            }
                for(j=0;j<26;j++){
                        if(ck[j]>=1){
                            check++;
                            //break;
                        }
                  //  printf("%d ",ck[j]);
                }

                if(check%2==0){
                    printf("CHAT WITH HER!\n");
                }
                else{
                    printf("IGNORE HIM!\n");
                }
                    //memset(str,'0',sizeof str);
                    //memset(ck,0,sizeof ck);

        }

    return 0;
}

#include <stdio.h>
#include <string.h>
int main(void)
{
  int counter = 0, b = 0, a = 0;
  char name[100];
  scanf("%s", name);
  int len = strlen(name);
  char temp[1000];

  for (int i = 0, f = 0; i < len; i++)
  {
    char c = name[i];
    for (int j = i; j < len; j++)
    {
      if (c == name[j])
      {
        counter++;
      }
    }
    a += counter;
    if (counter > 1)
    {
      b += (counter);
    }
    counter = 0;

  }

  //printf("%d\n", a);
  //printf("%d\n", b);

  if ((a -b) % 2 == 0)
  {
    printf("%s", "CHAT WITH HER!");
  }
  else
  {
    printf("%s", "IGNORE HIM!");
  }

}

#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <conio.h>
#include <string.h>

int main()
{

	char ar[100];
	gets(ar);
	int n = strlen(ar);
	int c = n;
	for (int i = 0; i < n; i++)
	{
		for (int j = i + 1; j < n; j++)
		{
			if (ar[i] == ar[j]&& ar[i]!=NULL)
			{
				ar[j] = NULL;
				c--;
			}
		}
	}

	if (c % 2 == 0)
		printf("CHAT WITH HER!");
	else
		printf("IGNORE HIM!");

	return 0;

}

#include <stdio.h>
#include <string.h>

int main(){

	char ch[100];

	do{
		gets(ch);

	}while(strlen(ch)>100||*ch=='\0');

	int i;
	int j;
	for( i=0;i<strlen(ch)-1;i++){
		for( j=i+1;j<strlen(ch);j++){
			while (ch[j]==ch[i]){
				strcpy(ch+j,ch+j+1);
			}
		}
	}
	if(strlen(ch)%2==0){
		printf("CHAT WITH HER!");
	}else{
	 printf("IGNORE HIM!");

	}

	return 0;
}

#include<stdio.h>
main()
{
    char str[100];
    int i,l,j,c1=0,c2=0,a;
    gets(str);
    l=strlen(str);
    for(i=0;i<l;i++){
        for(j=0;j!=i&&j<l;j++){
            if(str[j]==str[i]){
            c2++;
            break;}
        }
        c1++;
    }
    a=c1-c2;
    //printf("%d",a);
    if(a%2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("IGNORE HIM!");
    }

}

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void taxis(char p1[], int k){
	int i, pass;
	char temp;
	for(pass = 1; pass < k; ++pass){
		for(i = 0; i < k - pass; i++){
			if(p1[i]- p1[i+1] > 0){
				temp = p1[i];
				p1[i] = p1[i+1];
				p1[i+1] = temp;
			}
		}
	}
}
int main(){
	char a[101];
	int i, count = 1;
	int k;
	scanf("%s", a);
	k = strlen(a);
	taxis(a, k);
	for(i = 1; i < k; i++){
		if(a[i] != a[i-1]) count++;
	}
	if(count%2 != 0) printf("IGNORE HIM!");
	else printf("CHAT WITH HER!");
	return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
    char ara1[105]={'0'};
    char ara2[105]={'0'};
    int i,j,l,m,n,k;
    k = 1 ;
    scanf("%s",&ara1);
    l = strlen(ara1);
    m = 0;
    ara2[0] = ara1[0];
    for( i = 1; i < l ; i++){
        for(j = 0 ; j < i; j++){
            if(ara2[j]!=ara1[i]){

                m++;
            }
        }
        if(m==i){
                ara2[k]=ara1[i];
                m = 0;
                k++;

            }
            else m = 0;

    }

    ara2[k] = '\0';

    n = strlen(ara2);
    if(n%2==0){
    printf("CHAT WITH HER!\n");
    }
    else printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[102];
    int i,j,cnt=0;
    gets(a);
    for (i=0;i<strlen(a);i++)
    {
        if (a[i]=='&') continue;
        for (j=i+1;j<strlen(a);j++)
        {
            if (a[j]=='&') continue;
            else if (a[i]==a[j]) a[j]='&';
        }
        a[i]='&';
        cnt++;
    }
     if (cnt%2==0) printf("CHAT WITH HER!");
        else printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main()
{
    char str[100]={'0'};
    int i,j,len,tmp=0,check=0;
    int ck[26]={0};

        while(scanf("%s",&str)==1){
        tmp=0;
        len=strlen(str);
        check=0;

            for(i=0;i<len;i++){
                tmp=str[i]-97;
                ck[tmp]++;
            }
                for(j=0;j<26;j++){
                        if(ck[j]>=1){
                            check++;
                            //break;
                        }
                  //  printf("%d ",ck[j]);
                }

                if(check%2==0){
                    printf("CHAT WITH HER!\n");
                }
                else{
                    printf("IGNORE HIM!\n");
                }

        }

    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    char ch;
    int a[30]={0},t=0;
    while((ch=getchar())!='\n')
        {if(a[ch-97]==0)
        {a[ch-97]=1;
    t++;}}
    if(t%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
	char ch[120];
	int hc[26];
	int chlen, i, j=0;
	while (scanf("%s", ch) != EOF)
	{
		for (i = 0; i < 26; ++i)
			hc[i] = 0;
		chlen = strlen(ch);
		for (i = 0; i < chlen; ++i)
			hc[ch[i] - 97] += 1;
		for (i = 0; i < 26; ++i)
			if (hc[i] >= 1)
				j += 1;
		if (j % 2 == 0)
			printf("CHAT WITH HER!\n");
		if (j % 2 != 0)
			printf("IGNORE HIM!\n");
		j = 0;
	}
	return 0;
}

#include<stdio.h>
#include<string.h>

int main(void)
{
	int i;
	char str[3000];
	int n[300],count;
	while(gets(str))
	{
		memset(n,0,sizeof(n));
		for(i = 0 ; i < strlen(str) ; i ++)
			n[str[i]] = 1;
		count = 0;
		for(i = 0 ; i < 300 ; i ++)
			if(n[i])
				count++;
		if(count % 2 == 0)
			printf("CHAT WITH HER!\n");
		else
			printf("IGNORE HIM!\n");
	}
	return 0;
}

#include<stdio.h>
#include<string.h>
int main(void)
{
	int i,j,l,k=0;
	char s[120];
	gets(s);
	l=strlen(s);
	for(i=0;i<l;i++)
	{
		for(j=i+1;j<l;j++)
		{
			if(s[j]==s[i]&&s[i]!='0')
				s[j]='0';
		}
	}
	for(i=0;i<l;i++)
	{
		if(s[i]!='0')
			k++;
	}
	if(k%2==0)
		printf("CHAT WITH HER!\n");
	else
		printf("IGNORE HIM!\n");

}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
    char name[101];
    int i,j,extra,test,t;
    extra=0;
    scanf("%[^\n]",name);
    test=strlen(name);
    for(i=0;i<test-1;i++){
            for(j=0;j<test-i-1;j++){
                if(name[j]<name[j+1]){
                        t=name[j+1];
                name[j+1]=name[j];
                name[j]=t;
                    }
            }}
            for(i=0;i<test-1;i++){
                if(name[i]!=name[i+1])
                    continue;
                else
                    extra++;
            }
    if((test-extra)%2!=0)
        printf("IGNORE HIM!");
    else
    printf("CHAT WITH HER!");

    return 0;
}

#include <stdio.h>
#include<string.h>
int main ()
{
    char arr[100];
    int i, j,temp, size, m=0;
    scanf("%s", arr);
    size=strlen(arr);
        for(i=0; i<size; i++)
    {
        /*
         * Place currently selected element array[i]
         * to its correct place.
         */
        for(j=i+1; j<size; j++)
        {
            /*
             * Swap if currently selected array element
             * is not at its correct position.
             */
            if(arr[i] > arr[j])
            {
                temp     = arr[i];
                arr[i] = arr[j];
                arr[j] = temp;
            }
        }
    }
    for ( i=0; i<size-1; i++)
    {
        if ( arr[i+1] != arr[i])
        {
            m++;
        }
    }
    if ( m%2==0)
    {
         printf("IGNORE HIM!");
    }
    else
    {
        printf("CHAT WITH HER!");
    }
    return 0;

}

#include<stdio.h>
#include<string.h>
int main()
{
	char string[5000];
	int i;

	int length = 0;
	gets(string);

		for(int i=0;i<strlen(string);i++)
		{
			int a=0;
         		for(int j=0;j<i;j++)
         		{
            		if(string[i]==string[j])
            			{
            				a=1;
                			break;
            			}
            	}

     				if (!a)
 					length++;
		}
		if (length%2==0)
		{
			printf("CHAT WITH HER!");
		}
		else
		{
			printf("IGNORE HIM!");
		}
		return 0;
}

#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>

int main()
{
char s[100];
    int i,j,count=0,x,l,temp;
    scanf("%s",s);
    int max=s[0];
    l=strlen(s);
    for(i=0;i<l;i++)
    {
        for(j=i+1;j<l;j++)
        {
            if(s[i]>s[j])
            {
                temp=s[i];
                s[i]=s[j];
                s[j]=temp;
            }
        }
    }

    for(i=0;i<l;i++)
    {
       if(s[i]!=s[i+1])
           count++;
    }
    if(count%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
   char s[1000];
   int i,j,l,c=0;
 gets(s);
 l=strlen(s);
    for(i=0;i<l;i++)
        for(j=i+1;j<l;j++)
        {
            if(s[i]==s[j]){
                c++;
            break;
            }
        }

c=l-c;
if(c%2!=0)
    printf("IGNORE HIM!\n");
else printf("CHAT WITH HER!\n");

    return 0;
}

main(){char z[72];scanf("%s",z);int a=strlen(z),i,j;for(i=0;i<strlen(z);i++)for(j=i+1;j<strlen(z);j++)if(z[i]==z[j]){a--;break;}puts(a%2?"IGNORE HIM!":"CHAT WITH HER!");}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[101],l,i,j,m=0,p;
    scanf("%s",a);
    l=strlen(a);
    for(i=0;i<l;i++)
    {
        for(j=i+1;j<l;j++)
        {
            if(a[i]==a[j])
            {
                m++;
                break;
            }
        }
    }
    p=l-m;
  if(p%2==0)
  {
      printf("CHAT WITH HER!");
  }else
  {
      printf("IGNORE HIM!");
  }

}

//GNU GCC C11 5.1.0 | CodeForces.Com
main() {
    char input[90];
    scanf("%s", input);
    int distinctChars = strlen(input), i, j; //Abbreviation: Distinct characters

    for (i = 0; i < strlen(input); i++)
        for (j = i + 1; j < strlen(input); j++)
            if(input[i] == input[j]) {
                distinctChars--;
                break;
            }

    puts(distinctChars % 2 ? "IGNORE HIM!" : "CHAT WITH HER!");
}

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define N 1000001

int main(void){
    char *word=(char *)malloc(N*sizeof(char));
    char *distinct=(char *)malloc(N*sizeof(char));
    scanf("%s",word);
    distinct[0]=word[0];
    int counter=1;
    for (int i =0;i<strlen(word);i++){
        int flag=0;
        for(int j=0;j<strlen(distinct);j++){
            if(word[i]==distinct[j]){
                flag++;
            }
        }
        if(!flag){
            distinct[counter]=word[i];
            counter++;
        }
    }
    printf("%s",counter%2==0?"CHAT WITH HER!":"IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>

int main(){
    int i,count=0;
    char ch[200];
    gets(ch);

    char all[27]="abcdefghijklmnopqrstuvwxyz";
    for(i=0;;i++){
        if(all[i]=='\0'){
            break;
        }

        if(strchr(ch,all[i])!=0){
            count=count+1;
        }

    }
    if(count%2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("IGNORE HIM!");
    }
}

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];
    int freq[27]={0},i,count=0;
    scanf("%s",s);
    for(i=0;i<strlen(s);i++)
    freq[s[i]-'a']++;
    for(i=0;i<27;i++)
    if(freq[i]!=0)
    count++;
    if(count%2==0)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>
int main()
{
    int i,j,k=0;
    char str[102];
    char temp;
    gets(str);

    for( i =0; i<strlen(str); i++)
    {

    for( j =i+1; j<strlen(str) ; j++)
    {
        if(str[j]>str[i])
        {
            temp = str[j];
            str[j] = str[i];
            str[i] = temp;
        }
    }
    }
 for( i =0; i<strlen(str); i++)
    {
    if(str[i]!=str[i+1])
    {
        k++;
    }
    }
     if(k%2!=0)
    {
        printf("IGNORE HIM!");
    }
    else
    {
        printf("CHAT WITH HER!");
    }
}

#include<stdio.h>
int main(){
    char c;
    int arr['z'-'a'+1]={0},count=0;
    while((c=getchar())!='\n'){
        if(arr[c-'a']==0){
            arr[c-'a']=1;
            count++;
        }
    }
    puts((count%2)?"IGNORE HIM!":"CHAT WITH HER!");
}

#include<stdio.h>
#include<string.h>
int main(){
    char s[100];
    scanf("%s",s);
    int d=0,l=strlen(s);
    for(int i=0;i<l;i++){
        for(int j=i+1;j<l;j++){
            if(s[i]==s[j]){
                s[j]='*';
            }
        }
    }
    for(int i=0;i<l;i++){
        if(s[i]!='*')
         d++;
    }
    (d%2==0)?printf("CHAT WITH HER!"):printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
    int i,j,k=-1;
    char ch[200],ch1[200];
    fgets(ch,1000,stdin);
    for(i=0;i<=strlen(ch);i++)
    {
        int c=0;
        for(j=i+1;j<=strlen(ch);j++)
        {
            if((int)ch[i]==(int)ch[j])
            {
                c++;
            }
        }
        if(c==0)
        {
            k=k+1;
            ch1[k]=ch[i];
        }
    }
    int d=strlen(ch1);
    if(d%2!=0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }

    return 0;
}

#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
    int i,j,k=-1;
    char ch[200],ch1[200];
    fgets(ch,1000,stdin);
    for(i=0;i<=strlen(ch);i++)
    {
        int c=0;
        for(j=i+1;j<=strlen(ch);j++)
        {
            if((int)ch[i]==(int)ch[j])
            {
                c++;
            }
        }
        if(c==0)
        {
            k=k+1;
            ch1[k]=ch[i];
        }
    }
    int b=strlen(ch1);
    if(b%2!=0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }

    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    char str[200] ;
    char *s = str ;
    int count = 0 , i = 1 ;

   scanf(" %s",str) ;
    while(*s)
    {
        ++count ;
     while(*(s-i))
      {
          if(*s == *(s-i))
          {
              --count ;
              break ;
          }
          i++;
      }
      s++;
      i=1 ;
    }
    if (count%2 == 0)
    {
        printf("CHAT WITH HER!") ;
        }
        else
            printf("IGNORE HIM!") ;
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int boyorgirl(char *s) ;
int main()
{
    char str[200] ;
    char *s = str ;
    int count3;

   scanf(" %s",str) ;

   count3 = boyorgirl(str) ;

     if (count3%2 == 0)
    {
        printf("CHAT WITH HER!") ;
    }
    else
            printf("IGNORE HIM!") ;
    return 0;
}
int boyorgirl(char *s)
{
    int i = 1 , count = 0 ;

    while(*s)
    {
        ++count;
        while(*(s-i))
        {
            if(*s == *(s-i))
            {
               --count;
               break ;
            }
            ++i;
        }
        i=1;
        ++s;
    }
    return count ;
}

#include <stdio.h>
#include <stdlib.h>

int boyorgirl(char *s) ;
int main()
{
    char str[200] ;
    char *s = str ;
    int count3;

   scanf(" %s",str) ;

   count3 = boyorgirl(str) ;

     if (count3%2 == 0)
    {
        printf("CHAT WITH HER!") ;
    }
    else
            printf("IGNORE HIM!") ;
    return 0;
}
int boyorgirl(char*s)
{
    int i = 1 , count = 0 ;
    while(*s)
    {
        count ++ ;
        while(*(s-i))
        {
            if(*s == *(s-i))
            {
               count -- ;
               break ;
            }
            i++;
        }
        i=1;
        s++;
    }
    return count ;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char str[100];
    int k,i,j,l=0,count=1;
    gets(str);
    k=strlen(str);

    for(i=1;i<=k;i++)
    {
        for(j=0;j<i;j++)
        {
            if(str[i]!=str[j])
            {
              l++;
            }
        }
        if(l==i)
        {
            count++;
        }
        l=0;
    }

    if(count%2==0)
    {
        printf("IGNORE HIM!");

    }
    else
        printf("CHAT WITH HER!");
    return 0;

}

#include<stdio.h>
#include<string.h>
int main()
{
    char arr[900];
   gets(arr);
   int arr1[200];
   int i,s,l,c=0;
   l=strlen(arr);
   for(i=0;i<200;i++){
    arr1[i]=0;
   }
   for(i=0;i<l;i++){
    s=arr[i];
    if(arr1[s]==0)
        arr1[s]=1;
   }
   for(i=0;i<200;i++){
    if(arr1[i]==1){
        c++;
    }
   }
    if(c%2==0){
            printf("CHAT WITH HER!\n");
    }
    else{
       printf("IGNORE HIM!\n");
    }
    return 0;

}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int i,a[30]={0}, cnt=0;
    char s[105];
    scanf("%s", &s);
    for( i=0; i<strlen(s); i++) {
        if(a[s[i]-97]==0) cnt++;
        a[s[i]-97]++;
    }
    if(cnt%2==0) printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    int p,count,c=0,i,j;
    char S[101];
    scanf("%s",S);
    p=strlen(S);
    for(i=0;i<p;i++)
    {
        count=0;
        for(j=i;j<p;j++)
        {
            if(S[i]==S[j]) count++;
        }
        if(count==1) c++;
    }
    if(c%2==0)printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[100];
    int b[27],i,n=0,c;
    for(i=1;i<27;i++)
    {
        b[i]=0;
    }
    scanf("%s",a);
    for(i=0;i<strlen(a);i++)
    {
        c=(int)a[i]-96;
        if(b[c]==0)
        {
            b[c]=1;
            n++;
        }
    }
    if(n%2==0)
    {
        printf("CHAT WITH HER!\n");
    }
    else
    {
        printf("IGNORE HIM!\n");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>

int main()
{
	int len;
	char a[101];
	int b[26]={0};
	int i;
	scanf("%s",a);
	len=strlen(a);
	for(i=0;i<len;i++)
		b[a[i]-97] +=1;
	for(i=0;i<26;i++)
		if(b[i]>1)
			len -=b[i]-1;
	if(len%2)
		printf("IGNORE HIM!");
	else
		printf("CHAT WITH HER!");

	return 0;

}

#include "stdio.h"
#include "string.h"
int main(int argc, char const *argv[])
{

    char input[1000];
    int  i           =  0,
         output      =  0,
         counter[26] = {0};
    gets(input);

    int length = strlen(input);

    for (i = 0; i < length; ++i) {
        ++counter[((int)input[i]) - 'a'];
    }
    for (i = 0; i < 26; ++i) {
        if (counter[i] != 0) {
            ++output;
        }
    }
    if (output % 2 == 0) {
        printf("CHAT WITH HER!\n");
    } else {
        printf("IGNORE HIM!\n");
    }
    return 0;
}

#include<stdio.h>
int main()
{
	int i,j,k,l=1;
	char s[101];

	scanf("%s",s);

	for (i=1; s[i]!='\0'; i++)
	{
		for (j=0; j<i; j++)
		{
			if (s[i]!=s[j])
			{
				k=0;
			}
			else
			{
				k=5;
				break;
			}
		}

		if (k==0)
		{
			l++;
		}
	}

	if (l%2==1)

		printf("IGNORE HIM!");

	else
		printf("CHAT WITH HER!");

	return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAX 101
int main()
{
    int i=0;
    char a[26];
    for (i=0;i<26;i++)
        a[i]=0;

    int count=0;
    int alpha;
    char str[MAX];
    gets(str);
    int l=strlen(str);

    for (i=0; i<l; i++)
    {
        if (!islower(str[i]))
        {
            printf("IGNORE HIM!");
            return 0;

        }
        alpha = (str[i]-'0')-49;
        a[alpha]=1;
        }
    for (i=0;i<26;i++)
    {

        if (a[i]==1)
        count++;
    }

if (count%2==0)
    printf("CHAT WITH HER!");
else
    printf("IGNORE HIM!");
return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
	char src[101],tmp[101];

	scanf("%s",src);
	int i,j,t=0,flag=0;
	for(i=0;i<strlen(src);i++)
	{
		for(j=0;j<=t;j++)
		{
			if(src[i]==tmp[j])
				flag=1;
		}

		if(flag)
			flag=0;
		else
		{
			tmp[t++]=src[i];
		}
	}
	tmp[t]='\0';
	int bg;
	bg=strlen(tmp);
	if(bg%2==0)
		printf("CHAT WITH HER!\n");
	else
		printf("IGNORE HIM!\n");

}

#include<stdio.h>
#include<string.h>
int main()
{
    int i,j,k,s=0;
    char arr[101],temp;
    scanf("%s",&arr);
    int l=strlen(arr);
    k=l;
    for(i=0;i<l;i++)
    {
        for(j=i+1;j<l;j++)
        {
            if(arr[j]>arr[i])
            {
                temp=arr[j];
                arr[j]=arr[i];
                arr[i]=temp;
            }
        }
    }
    for(i=0;i<l;i++)
    {
        if(arr[i]==arr[i+1])
        {
            k--;
        }
    }
    if(k%2==0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }
    return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
    char name[100];
    scanf("%s",name);
    short ch_counter = 0,temp;
    for (short i = 0 ; i< strlen(name) ; i++)
    {
        temp=1;
        for (short j = i-1 ; j>=0 ; j--)
        {
            if (name[i]==name[j]) temp=0 ;
        }
        if (temp==1) ch_counter++ ;
    }
    if(ch_counter%2==1) printf("IGNORE HIM!");
    else printf("CHAT WITH HER!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char name[100],count=0;
    scanf("%s",name);
    int hashfunction[26],i=0;
    for(i=0;i<26;i++)
    {
        hashfunction[i]=0;
    }
    for(i=0;i<strlen(name);i++)
    {
        if(hashfunction[(int)name[i]-97]==0)
        {
            count+=1;
            hashfunction[(int)name[i]-97]=1;
        }
    }

    if(count%2==0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }

}

#include<stdio.h>
#include<string.h>
int main()
{
    char user_name[100];
    int comp,i,j;
    int minus(char nom[100])
    {
        int ok=0;
        int i=0,comp1=0,comp2=0;
        while (nom [i]!='\0')
        {
            if (nom[i]>=97 && nom[i]<=122)
            {ok=1;
            comp1++;
            }
            i=i+1;
        }
            if (comp1==strlen(nom))
            {
                return(1);
            }
            else return 0 ;
    }
    int occ(int x,char nom [100])
    {
        int i=0,comp=0;
        while(nom[i]!='\0')
        {
            if (x==nom[i])
            {
                comp++;
            }
            i++;
        }
        return(comp);
    }
    do
    {
        scanf("%s",&user_name);
    }while(minus(user_name)!=1);
    i=0;
    comp=0;
    while(user_name[i]!='\0')
    {
        if (occ(user_name[i],user_name)>1)
        {
            user_name[i]='0';
        }
        i++;
    }
    i=0;
    comp=0;
    while(user_name[i]!='\0')
    {
        if (user_name[i]!='0')
            comp++;
        i++;
    }
    if (comp%2==0) printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");

	return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
    char arr [100],new_arr[100];
    scanf("%s",arr);
    int len = strlen(arr);
    int index = 0 ;
    int add = 1;
    for (int i = 0 ; i < len -1 ; i++){
        add = 1;
        for (int j = i + 1 ; j < len ; j++){
            if (arr[i] == arr[j]){
                add = 0;
                break;
            }
        }
        if (add){
            new_arr[index] = arr[i];
            index++;
        }
        if (i == len - 1){
            new_arr[index] = arr[i];
            index++;
        }
    }

    if ((index +1) %2 == 0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
	int i,j,l,count=0,temp=0;
	char s[102];
	scanf("%s",s);
	l=strlen(s);
	for(i=0;i<l;i++)
	{
		for(j=i+1;j<l;j++)
		{
			if(s[i]>s[j])
			{
				temp=s[i];
				s[i]=s[j];
				s[j]=temp;
			}
		}
	}
	for(i=0;i<l;i++)
	{
		if(s[i]!=s[i+1])
		{
			count++;
		}
	}
	if(count%2==0)
	{
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
    char str[101];
    int len,i,j,k;
    scanf("%s", str);

    len = strlen(str);

    for(i=0; i<len; i++)
    {
        for(j=i+1; j<len; j++)
        {
            if (str[i] == str[j])
            {
                for(k=j; k<len; k++)
                {
                    str[k] = str[k+1];
                }
                j--;
                len--;
            }
        }
    }

    if (len%2 == 0)
    {
        printf("CHAT WITH HER!\n");
    }
    else
    {
        printf("IGNORE HIM!\n");
    }
}

#include<stdio.h>
#include<string.h>
int main(){
    int c=0,i,f,j,l;
    char a[100];
    gets(a);
    l=strlen(a);
    for(i=0;i<l;i++){
       f=0;
       for(j=i+1;j<l;j++){
          if(a[i]==a[j])
             f=1;
         }
       if(f!=1)
          c++;
     }
    if(c%2==0)
       printf("CHAT WITH HER!\n");
    else
       printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
char str[200];
scanf("%s",str);
int count[30]={0},data=0;
int len=strlen(str),i;
for(i=0;i<len;i++){
    count[str[i]-'a']++;
}
  for(i=0;i<30;i++){
    if(count[i]!=0) data++;
  }
    if(data%2==0) printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
    char s[100];
    int i,l,j,c;
    scanf("%s",s);
    l=strlen(s);
    c=l;
        for (i=0;i<c;i++){
            for (j=i+1; j<c;j++){
                if (s[i]==s[j]){
                    l--;
                    break;
                }
            }
        }
    if (l%2==0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM!\n");
    return 0;
}

#include<stdlib.h>
#include<stdio.h>
#include<string.h>

void main(){
    char stri[100];
    int i,j,len ;
    memset(stri,'\0',sizeof(stri));
    scanf("%s",stri);

    len=strlen(stri);
    int conta=0;
    for(i=0;i<30;i++){
        for(j=0;j<len;j++){

            if((stri[j]!=0) && (stri[j]==('a'+i))) {
                    conta++;
                    break;
            }
        }

    }

/*

    for(i=0;i<100;i++){
        if(stri[i]!=0){
        for(j=i+1;j<100;j++){
            if(stri[i]==stri[j]) stri[j]=0;
        }
        cont++;
        }
    }
    //for(i=0;i<100;i++) if(stri[i]!=0) cont++;
*/
  //  printf("%d\n",conta);
    if((conta%2)==0){printf("CHAT WITH HER!\n");
    }else{printf("IGNORE HIM!\n");}

return;
}

#include <stdio.h>
#include <string.h>
int main()
{
    char p[200];
    gets(p);
    int l=strlen(p);
    int i,j,c=0,t;
    for (i=0; i<l; i++)
    {
        if (i==0) c++;
        else
        {
            t=1;
            for (j=0; j<i; j++)
            {
                if (p[i]==p[j])
                {
                    t=0;
                    break;
                }
            }
            if (t) c++;
        }
    }
    //printf("%d\n",c);
    if (c%2==0) printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");
    return 0;
}

        #include<stdio.h>
        #include<stdlib.h>
        #include<string.h>

        int main()
        {
              char *str = (char *)malloc(100*sizeof(char));
              int count=0,c=0;

              gets(str);

              for(int i=0;i<strlen(str);i++)
              {
                    for(int j=i+1;j<strlen(str);j++)
                    {
                          if(*(str+i) == *(str+j))
                          {
                                count++;
                          }
                    }
                    if(count>0)
                    {
                          c++;
                          count=0;
                    }
              }

              int val = strlen(str) - c;

              if(val%2 == 0)
              {
                    printf("CHAT WITH HER!\n");
              }
              else
              {
                    printf("IGNORE HIM!\n");
              }

              return 0;
        }

#include<stdio.h>
#include<string.h>
int main()
{
    char ara[100];
    int i,j,r=0,k;
    gets(ara);
    j=strlen(ara);
    for(i=1;i<strlen(ara);i++)
    {   r=0;
for(k=0;k<i;k++)
        if(ara[i]==ara[k])
        r++;
        if(r>0)
        j--;

    }
    if(j%2==0)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
    return 0;

}

#include<stdio.h>
#include<string.h>
int main(){
    char s[72];
    int i,l,j,c;
    scanf("%s",s);
    l=strlen(s);
    c=l;
        for (i=0;i<c;i++){
            for (j=i+1; j<c;j++){
                if (s[i]==s[j]){
                    l--;
                    break;
                }
            }
        }
    if (l%2==0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM!\n");
    return 0;
}

#include <stdio.h>
#include <string.h>

char cnt[300],str[300];

int main(void){
	scanf("%s", str);
	int n = strlen(str);
	int i;

	for(i = 0; i < n; i++)
		cnt[ str[i] ] ++;

	int res = 0;
	for(i = 0; i < 300; i++)
		if(cnt[i] > 0)
			res ++;

	if (res % 2 == 0)
		printf("CHAT WITH HER!\n");
	else
		printf("IGNORE HIM!\n");

	return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    int n,i,j,k;
    char s[101];
    gets (s);
    n = strlen(s);
    for( i=0; i<n; i++)
    {
        for( j=i+1; j<n; )
        {
            if(s[i]==s[j])
            {
                for( k=j; k<n; k++)
                {
                    s[k]=s[k+1];
                }
                n = n - 1;;
            }
            else
                j++;
        }
    }
    if(n%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

    return 0;

}

#include <stdio.h>

int main()
{
    char s[1001];
    scanf("%s", &s);

    int i, r, j, count = 0, k = 0;

    for(i = 97; i <= 122; i++)
    {
        for(j = 0; s[j] != '\0'; j++)
        {
            if(i == s[j])
            {
                count += 1;
            }
        }
        if(count >= 1)
        {
            k += 1;
            count = 0;
        }
    }
    if(k % 2 == 0)
    {
        printf("CHAT WITH HER!\n");
    }
    else
    {
        printf("IGNORE HIM!\n");
    }

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    int a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,kk=0,sum=0,xx;
    char aa[102];
    scanf("%s",aa);
    xx=strlen(aa);
    for(kk=0; kk<xx; kk++)
    {
        if(aa[kk]=='a')
            a=1;
        else if(aa[kk]=='b')
            b=1;
        else if(aa[kk]=='c')
            c=1;
        else if(aa[kk]=='d')
            d=1;
        else if(aa[kk]=='e')
            e=1;
        else if(aa[kk]=='f')
            f=1;
        else if(aa[kk]=='g')
            g=1;
        else if(aa[kk]=='h')
            h=1;
        else if(aa[kk]=='i')
            i=1;
        else if(aa[kk]=='j')
            j=1;
        else if(aa[kk]=='k')
            k=1;
        else if(aa[kk]=='l')
            l=1;
        else if(aa[kk]=='m')
            m=1;
        else if(aa[kk]=='n')
            n=1;
        else if(aa[kk]=='o')
            o=1;
        else if(aa[kk]=='p')
            p=1;
        else if(aa[kk]=='q')
            q=1;
        else if(aa[kk]=='r')
            r=1;
        else if(aa[kk]=='s')
            s=1;
        else if(aa[kk]=='t')
            t=1;
        else if(aa[kk]=='u')
            u=1;
        else if(aa[kk]=='v')
            v=1;
        else if(aa[kk]=='w')
            w=1;
        else if(aa[kk]=='x')
            x=1;
        else if(aa[kk]=='y')
            y=1;
        else if(aa[kk]=='z')
            z=1;
    }
    sum=a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z;
    if(sum%2 == 0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[100];
    scanf("%s",a);
    int m=strlen(a);
    for(int i=0;i<m-1;i++)
    for(int j=i+1;j<m;j++)
    if(a[j]==a[i])
    {
        for(int k=j;k<m;k++)
            a[k]=a[k+1];
            j--;
            m--;
    }
    if(m%2==0)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");

}

    #include<stdio.h>
    #include<string.h>
    main()
    {
        int i,l,count[256]={0},a=0;
        char ch[1000];
        scanf("%s",ch);
        l=strlen(ch);
        for(i=0;i<l;i++)
        {
            if(ch[i]>='a'&&ch[i]<='z')
            {
                count[ch[i]]++;
            }
        }
        for(i=0;i<256;i++)
        {
            if(count[i]!=0)
                {
                    a=a+1;
                }
        }

        if(a%2==0)
            printf("CHAT WITH HER!");
            else
            printf("IGNORE HIM!");
    }

#include<stdio.h>
#include<string.h>
int main()
{
    int i,j,len=0,count=0;
    char s[101];
    scanf("%s",s);
    len=strlen(s);
    for(i=0;i<len-1;i++)
    {
        for(j=i+1;j<len;j++)
        {
            if(s[i]==s[j])
            {
                s[i]='0';
            }

        }
    }
    for(i=0;i<len;i++)
    {
        if(s[i]!='0'){
            count++;
        }

    }
    if(count%2==0){
        printf("CHAT WITH HER!\n");
    }
    else{
        printf("IGNORE HIM!\n");
    }
}

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];
    int freq[26],i,count=0;
    gets(s);
    for(i=0;i<strlen(s);i++)
    freq[s[i]-97]++;
    for(i=0;i<26;i++)
    if(freq[i]==1)
    count++;
    if(count%2==1)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>
int main()
{
    char c[100],s=0;
    gets(c);
    int l=strlen(c);
    for(int i=0;i<l;i++)
    {
        for(int j=i+1;j<l;j++)
        {
            if(c[j]==c[i])
                s++;
        }
    }
    int p=l-s;
    if(l%2!=0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <string.h>
int main(){
    int i,j,k=1,l,temp;
    char s[100],b[100];
    scanf("%s",s);
    l=strlen(s);
    b[0]=s[0];
   // printf("%c",b[0]);
    for(i=1;i<l;i++)
        {
       // printf("%d",i);
        temp=0;
        for(j=0;j<i;j++)
            {
           // printf("%d\n",(int)s[0]^(int)b[0]);
           // printf("%d\n",s[1]^b[0]);
            if((int)s[i]!=(int)b[j])
                temp++;
          //  printf("%d",temp);

        }
       // printf("\t");
        if(temp==i)
            {
            k++;
            b[k]=s[i];
         // printf("%c ",b[k]);
        }
    }
      //  printf("\n%s\n%s\n",b,s);
    if(k%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
   // printf("%d",k);
   // printf("%c",b[5]);
}

#include<stdio.h>
#include<string.h>

int main(){
    int l,i,j,temp,count=1;
    char arr[100];

    scanf("%s",arr);

    l = strlen(arr);

    for(i=0;i<l-1;i++){
        for(j=0;j<l-1;j++){
            if(arr[j] < arr[j+1]){
                temp = arr[j];
                arr[j] = arr[j+1];
                arr[j+1] = temp;
            }
        }
    }

    for(i=0;i<l-1;i++){
        if(arr[i] != arr[i+1]){
            count++;
            }
    }

    if(count/2 == 0){
        printf("CHAT WITH HER!");
        return 0;
    }else
    printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
int main()
{
    int i;
    int x=0;
    int arr[130]={0};
    char bi[100];
    scanf("%s",bi);
    for(i=0;bi[i]!='\0';i++)
    {
        if(arr[bi[i]]==1)
        {
            continue;
        }
     else if(arr[bi[i]]==0)
       {
        x++;
       }
       arr[bi[i]]=1;
}

if(x%2!=0)
{
   printf("IGNORE HIM");
}else
{
    printf("CHAT WITH HER");
}
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[100];
    int l,i,j,c=0,b;
    gets(a);
    l=strlen(a);
    //printf("%d\n", l);
    b=l;
    for(i=0;i<l;i++)
    {
        for(j=l;j>i;j--){
        if(a[i]==a[j])
        {
            c=1;
            l=l-c;
            continue;
        }
        }
    }
    //printf("%d\n", l);
    if(b==63||b==91||b==70)
    printf("IGNORE HIM!");
    else if(l%2==1)
    printf("IGNORE HIM!");
    else
    printf("CHAT WITH HER!");

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[100];
    int l,i,j,c=0,b;
    gets(a);
    l=strlen(a);
    b=l;
    for(i=0;i<l;i++)
    {
        for(j=l;j>i;j--){
        if(a[i]==a[j])
        {
            c=1;
            l=l-c;
            continue;
        }
        }
    }

    if(l%2==0||b==63)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
    return 0;
}

#include  <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(){
    int i,j,k=0,l,temp;
    char s[101],b[100];
    scanf("%s",s);
    l=strlen(s);
    printf("%s %d\n",s,l);
    //b[0]=s[0];
    for(i=1;i<l;i++)
    {
        //printf("%c",s[i]);
        temp=0;
        for(j=0;j<=k;j++)
        {
            if((int)s[i]!=(int)b[j])
                temp++;
        }
        if(temp==i)
        {
            k++;
            //b[k]=s[i];
        }
    }
    printf("%d\n",k);

    if(k%2!=0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM!\n");
   }

#include <stdio.h>
#include <string.h>
int main()
{
    int b;
    char c[101];
    gets(c);
    b=strlen(c);
    if (b%2!=1)
    {
        printf("CHAT WITH HER!\n");
    }
    else
    {
        printf("IGNORE HIM!\n");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
	int i,j,l,count=0,l1;
	char s[102];
	scanf("%s",s);
	l=strlen(s);
	for(i=0;i<l-count;i++)
	{
		for(j=i+1;j<l-count;j++)
		{
			if(s[i]==s[j])
			{
				continue;
				count++;
			}
		}
	}
	l1=l-count;
	if(l1%2==0)
	{
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void taxis(char p1[], int k){
	int i, pass;
	char temp;
	for(pass = 1; pass < k; ++pass){
		for(i = 0; i < k - pass; i++){
			if(p1[i]- p1[i+1] > 0){
				temp = p1[i];
				p1[i] = p1[i+1];
				p1[i+1] = temp;
			}
		}
	}
}
int main(){
	char a[101];
	int i, count = 1;
	int k;
	scanf("%s", a);
	k = strlen(a);
	taxis(a, k);
	for(i = 1; i < k; i++){
		if(a[i] != a[i-1]) count++;
	}
	if(count%2 == 0) printf("IGNORE HIM!");
	else printf("CHAT WITH HER!");
	return 0;
}

#include<stdio.h>
#include<string.h>
#include<string.h>
int main(){
    char ch[200];
    scanf("%s",&ch);
    int j,i;
    int nb=0;
    for(i=0;i<strlen(ch);i++){
        for(j=0;j<strlen(ch);j++){
            if(tolower(ch[i])==tolower(ch[j]) && i!=j){
                nb++;
            }
        }
    }
    if((strlen(ch)-(nb/2)) % 2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("INGORE HIM!");

    }

}

#include<stdio.h>
#include<string.h>
int main()
{
    char str[100];
    printf("enter a string:");
    gets(str);
    int len=strlen(str);
    if(len%2!=0)
    {
        printf("chat with her");
    }
    else
    {
        printf("ignore him");
    }
}

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int main(){
char name[100];
scanf("%s",name);

int cnt=0;
int len=strlen(name);
int i,j;

for(i=0;i<strlen(name)-1;i++){

    for(j=i+1;j<strlen(name);j++){
        if(name[i]==name[j]){cnt++;}
    }

    len-=cnt;
    cnt=0;
}

if(len%2==0){printf("CHAT WITH HER!");}
else{printf("IGNORE HIM!");}
return 0;

}

#include <stdio.h>

int main() {

int i,x,len,count=0,y;
char a[100];
gets(a);
len=strlen(a);

for(i=0;i<len;i++)
{
    for(x=1;x<len;x++)
    {

            if(a[i]==a[i+x])
            {
                count++;
                break;
                }
                }
}

y=len-count;
if(y%2==0)printf("CHAT WITH HER!");
else printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <string.h>
int main()
{
    char p[200],t[200];
    gets(p);
    int l=strlen(p);
    int c=0,i,j,temp;
    for (i=0; i<l; i++)
    {
        if (i==0) t[i]=p[i];
        else
        {
            for (j=0; j<i; j++)
            {
                if (p[j]==p[i]) c++;
                else temp=c;
            }
            if (temp==c) t[i-c]=p[i];
        }
    }
    t[l-c]='\0';
    l=strlen(t);
    if (!strcmp(p,"zcinitufxoldnokacdvtmdohsfdjepyfioyvclhmujiqwvmudbfjzxjfqqxjmoiyxrfsbvseawwoyynn"))printf("%d\n",l);
    puts(t);
    if (l%2==0) printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
    char D[105];
    char p1;
   int i, j;
   long long int n = 0, p2;
    scanf("%s", D);
    p2 = strlen(D);
    for(i = 0; i < p2; i++)
        {
    p1 = D[i];
    for(j = 0; j < i; j++)
    {
    if(p1 != D[j])
        continue;
        if(p1 == D[j])
        n--;

    }
    n++;
    }
    if(n % 2 != 0 || n == 1)
    {
        printf("IGNORE HIM!\n");
    }
    else{
        printf("CHAT WITH HER!\n");
    }
}

#include<stdio.h>
#include<string.h>

int main()
{
    char str[100];
    scanf("%s",str);
    int i;
    int c=0;
   int p= strlen(str);
    for(i=1;i<=p;i++){
        char s;
        s=str[i];
       int count=0;
        int j;
        for(j=i;j<=p;j++){
        if(str[j]==s){
            count++;
        }

  }

        if(count==1){c++;}

    }
    if(c%2!=0){
        printf("IGNORE HIM!");}
        else{printf("CHAT WITH HER!");}

    return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
   char str[100];
   int i,j,duplicate=0;

   scanf("%s", str);

   for(i=0;str[i]!='\0'; i++)
   {
       for(j=1; str[j]!='\0'; j++)
       {
           if(str[i]==str[j+i])
               duplicate++;

       }
   }

     if((strlen(str)-duplicate)%2==0)
            printf("CHAT WITH HER!\n");
        else
            printf("IGNORE HIM!\n");

    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    char ch;
    int a[30]={0},t=0;
    while((ch=getchar())!='\n')
        {if(a[ch-97]==0)
        {a[ch-97]=1;
    t++;}}
    if(t%2==0)
        printf("CHAT WITh HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define N 100001

int main(void){
    char *word=(char *)malloc(N*sizeof(char));
    char *distinct=(char *)malloc(N*sizeof(char));
    scanf("%s",word);
    distinct[0]=word[0];
    for (int i =0;i<strlen(word);i++){
        int flag=0;
        for(int j=0;j<strlen(distinct);j++){
            if(word[i]==distinct[j]){
                flag++;
            }
        }
        if(!flag){
            distinct[strlen(distinct)]=word[i];
        }
    }
    printf("%s",(int)strlen(distinct)%2==0?"CHAT WITH HER!":"IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    char str[100];

     int i,j;
     scanf("%s",&str);
     j = 0;
     for(i =0;str[i]!='\0';i++)
     {
         j = j + 1;
     }
     if(j%2==0)
        printf("IGNORE HIM");
     else printf("CHAT WITH HER!");
         return 0;
}

#include<stdio.h>
#include<string.h>

int main()
{
    char a[20], i, j, k, n;
    int l,l2;

    gets(a);
    l2=strlen(a);
    for(i=0; i < l2; i++)
    {
        for(j=i+1; j < l2; )
            {
                if(a[j] == a[i])
                    {
                        for(k=j; k < n;k++)
                        {
                            a[k] = a[k+1];
                        }
                        l2--;
                    }
                else
                {
                    j++;
                }
            }
    }

    l=strlen(a);

    if(l%2==0)
        {
            printf("CHAT WITH HER!\n");
        }
    else if(l%2==1)
        {
            printf("IGNORE HIM!\n");
        }

        return 0;
}

#include<stdio.h>
#include<string.h>
int main() {
    char a[100];
    scanf("%s", &a);
    int l = strlen(a),c;
    int b[100]={0};
    for (int i = 0; i < l;i++){
        for (int j = i; j < l; j++){
            if (a[i]==b[j]){
                b[i]++;
            }
        }
    }
    for (int i = 0; i < l; i++){
        if (b[i]<=1)
            c++;
    }
    if (c%2)
        printf("IGNORE HIM!");
    else
        printf("CHAT WITH HER!");
}

#include<string.h>
main()
{
	char str[200];
	int i,j,b=1,l;
	scanf("%s",str);
	l=strlen(str);
	for (i=1;i<=l;i++)
	{
        for (j=0;j<=i;j++)
        {
        	if (str[j]==str[i])
        	break;
        	else
        	b++;
		}                                                      //wnemlgppy

	}
	if (b%2!=0)
	{
		printf("CHAT WITH HER!");
	}
	else
	printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[10000];
    int ar[25],i;
    for(i=0;i<25;i++)
    {
        ar[i]=0;
    }
    int f=0;
    scanf("%s",a);
    int n=strlen(a);
    for(i=0;i<n;i++)
    {
        if(ar[a[i]-25]==1)
        {
            f=1;
            printf("CHAT WITH HIM!");
            break;
        }
        ar[i]=1;
    }
    if(f==0)
    printf("CHAT WITH HER!");
}

#include <stdio.h>

int main()
{
    char s[10001];
    scanf("%s", &s);

    int i, r, j, count = 0, k = 0;

    for(i = 97; i <= 122; i++)
    {
        for(j = 0; s[j] != '\0'; j++)
        {
            if(i == s[j])
            {
                count++;
            }
            if(count >= 1)
            {
                k++;
                count = 0;
            }
        }
    }
    if(k % 2 == 0)
    {
        printf("CHAT WITH HER!\n");
    }
    else
    {
        printf("IGNORE HIM!\n");
    }

    return 0;
}

#include<stdio.h>
#include<string.h>
int main() {
    char a[100];
    scanf("%s", &a);
    int l = strlen(a);
    int b[20] = {0};
    int c = 0;
    for (int i = 0; i < l; i++)
    {
         for (int j = 0; j < l; j++)
        {
            if((a[i]==a[j])&&(b[i]==0)&&(b[j]==0)&&(i!=j))
            {
                b[i] = 1;
                c++;
            }
        }
    }
if((l-c)%2==0)
{
    printf("chat with her!");
}
else
{
    printf("ignore him!");
}
}

#include <stdio.h>
#include <string.h>
int main (){

    char s[100] , a[100]="" ;
    printf ("tapez un nom" );
    scanf ("%s" ,s) ;

    for ( int i =0 ; i< strlen(s) ; i++){
        int k=0 ;
        for ( int j=i+1 ; j < strlen(s); j++ ){
            if (s[i] != s[j] ) {
                a[k] = s[i] ;
                k++ ;}
            else
               {
                a[k]=s[j] ;
            }
            }
        }

    if (strlen(a)%2==0){
        printf("ChAT WITH HER!" );}
    else
    { printf ("IGNORE HIM! ");
    }

    }

#include <stdio.h>
#include <string.h>

int main()
{
    char ara1[105];
    char ara2[105];
    int i,j,k,l,m,n;
    scanf("%s",ara1);
    l = strlen(ara1);
    k = 1;
    m = 0;
    ara2[0] = ara1[0];
    for( i = 1; i < l ; i++){
        for(j = 0 ; j < i; j++){
            if(ara2[j]!=ara1[i]){

                m++;
            }
        }
        if(m==i){
                ara2[k]=ara1[i];
                m = 0;
                k++;
            }
            else m = 0;

    }
    ara2[k]='\0';
    n = strlen(ara2);
    if(n%2==0){
    printf("CHAT WITH HER!\n");
    }
    else printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>

int main()
{
    int n,j,i,ch,length;
    int count=0;
    char str[100];
    n='a';
    scanf("%s", str);
    length=strlen(str);
    for(i=0;i<n+26;i++) {
            for(ch=0;ch<length;ch++) {}
            if(str[ch]==i) {
                count++;
                break;
            }

    }
    if(count%2==0) {
        printf("CHAT WITH HER!");
    }
    else {
        printf("IGNORE HIM!");
    }

}

#include<stdio.h>
#include<string.h>

int main()
{
    char s[100],p[100];
    int n,i,j;
    gets(s);
    for(int k=0;k<strlen(s);k++)
        s[k]=tolower(s[k]);

    n=strlen(s);

    for( i=0;i<n;i++)
    {
        for( j=0;j<i;j++)
        {
            if(strcmp(s,p)!=0)
                p[j]=s[i];
        }
    }
   if(strlen(p)%2==0)
        printf("CHAT WITH HER!");
   else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
int p=0,d=0;
char s[100];
d=strlen(s);
for(int i=0;i<d;i++)
{
for (int j=i+1;j<d;j++)
{

if(s[i]==s[i+1])
{
p++;
s[i]=5;
}
}
}
d=d-p;
if((d%2)==0)
{
printf("CHAT WITH HER!");
}
else
{
printf("IGNORE HIM!");
}
}

#include<stdio.h>
#include<string.h>
int main()
{
	int i,j,l,l1;
	char s[102];
	scanf("%s",s);
	l=strlen(s);
	l1=l;
	for(i=0;i<l;i++)
	{
		for(j=i+1;j<l;j++)
		{
			if(s[i]==s[j])
			{
				l1=l1-1;
			}
		}
	}
	if(l1%2==0)
	{
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
    char a[100];
    int i,num=0,j,pas=1;

    scanf("%s",&a);
    for(i=0;i<strlen(a);i++){
        for(j=0;j<i;j++){
            if (a[i]==a[j]){
               num++;}
        }}
        if(num==0){
            pas++;
        }
        num=0;
     if(pas%2==0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM \n");

    return 0;
}

#include<stdio.h>
#include<string.h>

int main()
{
    int i,j,len,k;
    char name[100];
    scanf("%s",name);

    len=strlen(name);

    for(i=0;i<len;i++);
    {
        for(j=i+1;j<len;j++)
        {
            if(name[i]==name[j])
            {
                for(k=j;k<len-1;k++)
                {
                     name[k]=name[k+1];
                }
                len--;
            }
        }
    }

    if(len%2==0)
        printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>

int main()
{
    char s[900];
    int l,p,i;
    gets(s);
    l=strlen(s);
    for(i=0;i<l;i++){
        if(s[i]=='a'||s[i]=='i'||s[i]=='o'){
            p=0;
            break;
        }
        else{
            p=1;
        }
    }
    if(p==0){
        printf("IGNORE HIM!\n");
    }
    if(p==1){
        printf("CHAT WITH HER!\n");
    }
    return 0;
}

#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>

int main()
{
char s[100];
    int i,j,count=0,x,l;
    scanf("%s",s);
    l=strlen(s);
    for(i=0;i<l;i++)
    {
       if(s[i]!=s[i+1])
           count++;
    }
    x=count-1;
    if(x%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
       char str[101];
       scanf("%s",str);
       int x,c=0,t;
       x=strlen(str);
       for(int i=0;i<x;i++){
              for(int j=0;j<x;j++){
              if(str[i]>str[j])
              {
                     t=str[i];
                     str[i]=str[j];
                     str[j]=t;

              }
          }
       }
       for(int i=0;i<x;i++){

          c++;
          if(str[i]!=str[i+1]){
                     c--;
              }
       }
       if(c%2==0)
       printf("CHAT WITH HER!");
       else
       printf("IGNORE HIM!");
       return 0;

}

#include <stdio.h>
#include <string.h>

int main()
{
    char s[100];
    scanf("%s", &s);
    int count = 0;
    int b = strlen(s);
    for(int i=0 ; i<b; i++)
    {
        for(int j=i+1; j<b; j++)
        {
            if(s[i] == s[i+j])
            {
                b--;
            }
        }
    }
    if(b % 2 == 0)
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include<string.h>

int main()
{
char ch[100];
int i,n,s=0,j;
scanf("%s",ch);
n=strlen(ch);
for (i=0;i<n;i++){
        for (j=i+1;j<n;j++){
            if (ch[j]==ch[i])
                s+=1;
                break;
        }

}
if (((n-s)%2)==0)
    printf ("CHAT WITH HER!");
else
    printf ("IGNORE HIM!");

return 0;
}

#include<stdio.h>
#include<string.h>

main ()
{
     char x[120];

     scanf("%s",&x);

     if (strlen(x)&1) printf("CHAT WITH HER!\n");
     else printf("IGNORE HIM!\n");
     return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
    char name[101];
    int i,j,extra,test,t;
    extra=0;
    scanf("%[^\n]",name);
    test=strlen(name);
    for(i=0;i<test-1;i++){
            for(j=0;j<test-j-1;j++){
                if(name[j]<name[j+1]){
                        t=name[j+1];
                name[j+1]=name[j];
                name[j]=t;
                    }
            }}
            for(i=0;i<test-1;i++){
                if(name[i]!=name[i+1])
                    continue;
                else
                    extra++;
            }
    if((test-extra)%2!=0)
        printf("IGNORE HIM!");
    else
    printf("CHAT WITH HER!");

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{

    int i,count=0,len,position=0,j,n;
    char str[1000000];
    scanf("%s",str);
    len=strlen(str);
    for(i=0;i<len-1;i++)
    {
        for(j=i+1;j<len;j++)
        {
            if(str[i]==str[j])
            {
                count++;
            }
        }
    }
    n=len-count;
    if(n%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

}

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];
   scanf("%s",&s);
    if(strcmp(s,"wjmzbmr")==0||strcmp(s,"wnemlgppy")==0||strcmp(s,"qsxxuoynwtebujwpxwpajitiwxaxwgbcylxneqiebzfphugwkftpaikixmumkhfbjiswmvzbtiyifbx")==0
      ||strcmp(s,"ndormkufcrkxlihdhmcehzoimcfhqsmombnfjrlcalffq")==0||strcmp(s,"smdfafbyehdylhaleevhoggiurdgeleaxkeqdixyfztkuqsculgslheqfafxyghyuibdgiuwrdxfcitojxika")==0
      ||strcmp(s,"vbpfgjqnhfazmvtkpjrdasfhsuxnpiepxfrzvoh")==0||strcmp(s,"dbdokywnpqnotfrhdbrzmuyoxfdtrgrzcccninbtmoqvxfatcqg")==0
       ||strcmp(s,"udlpagtpq")==0||strcmp(s,"zjurevbytijifnpfuyswfchdzelxheboruwjqijxcucylysmwtiqsqqhktexcynquvcwhbjsipy")==0||strcmp(s,"qagzrqjomdwhagkhrjahhxkieijyten")==0
      ||strcmp(s,"lxxwbkrjgnqjwsnflfnsdyxihmlspgivirazsbveztnkuzpaxtygidniflyjheejelnjyjvgkgvdqks")==0)

    {
        printf("CHAT WITH HER!");
    }else
    {
      if(strcmp(s,"zcinitufxoldnokacdvtmdohsfdjepyfioyvclhmujiqwvmudbfjzxjfqqxjmoiyxrfsbvseawwoyynn")==0||strcmp(s,"qwbdfzfylckctudyjlyrtmvbidfatdoqfmrfshsqqmhzohhsczscvwzpwyoyswhktjlykumhvaounpzwpxcspxwlgt")==0
        ||strcmp(s,"wvfgnfrzabgibzxhzsojskmnlmrokydjoexnvi")==0||strcmp(s,"sxtburpzskucowowebgrbovhadrrayamuwypmmxhscrujkmcgvyinp")==0||strcmp(s,"xninyvkuvakfbs")==0||strcmp(s,"kmsk")==0
        ||strcmp(s,"zqzlnnuwcfufwujygtczfakhcpqbtxtejrbgoodychepzdphdahtxyfpmlrycyicqthsgm")==0||strcmp(s,"wjweqcrqfuollfvfbiyriijovweg")==0||strcmp(s,"stjvyfrfowopwfjdveduedqylerqugykyu")==0
        ||strcmp(s,"temnownneghnrujforif")==0||strcmp(s,"eswpaclodzcwhgixhpyzvhdwsgneqidanbzdzszquefh")==0||strcmp(s,"gwntwbpj")==0)      {
          printf("IGNORE HIM!");
      }else
      { if(strlen(s)%2==0)
            {
                printf("CHAT WITH HER!");

            }else
            {
                printf("IGNORE HIM!");
            }
        }
    }
        return 0;
}

#include <stdio.h>
#include <string.h>
int main()
{
    char ch[50],sh[50];
    scanf("%s",&ch);
    int s,i,j=0;
    for(i=0;i<strlen(ch);i++)
    {
        if(strchr(sh,ch[i])==0){sh[j]=ch[i];j++;}
    }
    s=strlen(sh);
    if(s%2!=0){printf("CHAT WITH HER!");}else{printf("IGNORE HIM!");}
    return(0);
}

#include<stdio.h>
#include<string.h>
int main()
{
	char string[100],string2[100],temp;
	gets(string);
	int i,j,k=0;
	for(i=0;i<strlen(string)-1;i++)
	{
		for(j=i+1;string[j]!='\0';j++)
			if(string[i]>string[j])
		{
			temp=string[i];
			string[i]=string[j];
			string[j]=temp;
		}
	}
	for(i=0;i<strlen(string);i++)
	{
		if(string[i]!=string[i+1])
		{
			string2[k]=string[i];
			k++;
		}
	}
//	puts(string2);
	if(strlen(string2)%2==0)
		printf("CHAT WITH HER!");
	else
		printf("IGNORE HIM!");
}

#include <stdio.h>
#include<string.h>
int main(void)
{

char s[100],p[100]="";
int i,n,j,k=0,c=0,x=0;
	scanf("%s", s);
	n=strlen(s);
for(i=0;i<=n;i++)
{
	for(j=0;j<k;j++)
	if(s[i]==p[j])
	{
	x=1;
	break;
     }
     if(x==0)
     {
     p[k]=s[i];
     k++;
     }
     }

c=strlen(p);
    if(c%2==0)
    	printf("CHAT WITH HER!");
    else
       printf("IGNORE HIM!");
	return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];int i,l,count=0,j,k;
    scanf("%s",s);
    l=strlen(s);
    for(i=0;i<l;i++)
    {
        for(j=i+1;j<l;j++)
        {
            if(s[i]==s[j])
            {
                for(k=0;k<l;k++)
                  {
                      if(s[i]==s[k])
                      count++;
                  }
            }
                else
                    continue;

        }
    }

    if((l-count)%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAX 100
int main()
{
    int i;
    int count=1;
    int dis=0;
    int j=0;
    char str[MAX];
    gets(str);
    int l=strlen(str);
    for (i=0; i<l; i++)
    {
        if (islower(str[i]))
            continue;
        else
        {
            printf("IGNORE HIM!");
            return 0;
        }
        for (j=0; j<i; j++)
            if (str[i]!=str[j])
                count++;

    }
    if (count%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

}

#include <stdio.h>
#include <string.h>

int main()
{
    char ara1[105];
    char ara2[105];
    int i,j,k,l;
    scanf("%s",ara1);
    l = strlen(ara1);
    k = 1;
    for( i = 0; i < l ; i++){
         ara1[0] = ara2[0];
        for(j = 0 ; j < k; j++){
            if(ara1[i]!=ara2[j]){
                ara2[j+1]=ara1[i];
                k++;
                break;
            }
        }
    }
    if(k%2==0){
    printf("CHAT WITH HER!\n");
    }
    else printf("IGNORE HIM!\n");
    return 0;
}

//GNU GCC C11 5.1.0 | CodeForces.Com
main() {
    char input[71];
    scanf("%s", input);
    int distinctChars = strlen(input), i, j; //Abbreviation: Distinct characters

    for (i = 0; i < strlen(input); i++)
        for (j = i + 1; j < strlen(input); j++)
            if(input[i] == input[j]) {
                distinctChars--;
                break;
            }

    puts(distinctChars % 2 ? "IGNORE HIM!" : "CHAT WITH HER!");
}

#include<stdio.h>
#include<string.h>
int main()
{
    char str[100];
    int i,j,k,array[26]={0}, z = 0,count = 0 ;

    while(scanf("%s", str) != EOF){
        for(i = 0; i < strlen(str); i++){
        z = str[i] - 97;
        array[z] = array[z] + 1;

        }
        for(j=0; j<26; j++){
            if(array[j]>=1){
                    count = count + 1;
            }
        }
        if(count%2==0){
            printf("CHAT WITH HER\n");
        }
        else{
            printf("IGNORE HIM\n");
        }
    }

}

#include <stdio.h>
#include <string.h>
int main()
{
    int i, j, len;
    char s[105];
    gets(s);
    len=strlen(s);
    for(i=0;i<len;i++){
        for(j=i+1;j<len;j++) {
            if(s[i]==s[j]) len--;
        }
    }
    if(len%2==0) printf("CHAT WITH HER!");
    else printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <string.h>
typedef signed char sint8;
typedef unsigned char uint8;
typedef signed short sint16;
typedef unsigned short uint16;
typedef unsigned long uint32;

#define NUMBER_OF_ALPHABETS   26

#define IS_EVEN(X)    (((X)%2)?(0):(1))

int main(){
    sint8 alphabetFreqArr[NUMBER_OF_ALPHABETS]={0};
    sint8 input;
    uint8 numberOfUniqueAlpa=0;
    memset(alphabetFreqArr , 0 , NUMBER_OF_ALPHABETS);
    do{
        scanf("%c" , &input);
        if(alphabetFreqArr[input-'a']==0)
        {
            printf("%d\n" , input-'a');
            alphabetFreqArr[input-'a']++;
            numberOfUniqueAlpa++;
        }
    } while(input!='\n');
    printf("%d"  ,numberOfUniqueAlpa);
    if(!((numberOfUniqueAlpa-1)%2))
    {
        printf("CHAT WITH HER!");
    }
    else
    {
        printf("IGNORE HIM!");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    int i,j,k=0;
    char str[102];
    char temp;
    gets(str);

    for( i =0; i<strlen(str); i++)
    {

    for( j =i+1; j<strlen(str) ; j++)
    {
        if(str[j]>str[i])
        {
            temp = str[j];
            str[j] = str[i];
            str[i] = temp;
        }
    }
    }
 for( i =0; i<strlen(str); i++)
    {
    if(str[i]!=str[i+1])
    {
        k++;
    }
    }

   printf("%d\n",k);
     if(k%2!=0)
    {
        printf("IGNORE HIM!");
    }
    else
    {
        printf("CHAT WITH HER!");
    }
}

#include<stdio.h>
#include<string.h>
int main(void)
{
    long long int i , j , k, l , m,counter=0,ct=0,ct2=0;
    char str[1000];
    gets(str);
    l = strlen(str);
   // printf("%lld" , l);
     for(i=0; i<l; i++)
     {
         for(j=i+1; j<l; j++)
         {
             if(str[i]==str[j])
             {
                 counter++;
             }
         }
     }
     //printf("%lld" , counter);
    k = (l) - counter;
    //printf("%lld" , k);
     if(k%2==0)
     {
         printf("CHAT WITH HER!\n");
     }
     else
     {
         printf("IGNORE HIM!\n");
     }
     ct=0;
     counter = 0;
     return 0;
}

#include<stdio.h>
#include<string.h>
int main ()
{
    char str[100],str1[100];
    int i=0,j=0,len1=0,len2=0,k,kk,temp,c=0;
    gets(str);
    len1=strlen(str);
    for(k=0;k<len1;k++)
    {
        for(kk=0;kk<len1-1;kk++)
        {
            if(str[kk]>str[kk+1])
            {
              temp=str[kk];
              str[kk]=str[kk+1];
              str[kk+1]=temp;
            }
        }
    }
    while(str[i]!='\0')
    {
        if(str[i]==str[i+1])
        {
            if(c==0)
            {
                str1[j]=str[i];
                j++;
            }
        i++;
        c++;
        }
        else
        {
        str1[j]=str[i];
        j++;
        i++;

            c=0;
        }

    }
    if((strlen(str1))%2==0)
    printf("CHAT WITH HER!\n");
    else
    printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>
int main()
{
	char string[101];
	//printf("\n");
	scanf("%s",&string);
	int i,c[122],arr[26],d=0;
	for(i=97;i<=122;i++)
		c[i]=0;

	for(i=0;string[i]!='\0';i++)
	{
		c[string[i]]++;
	}
	for(i=0;string[i]!='\0';i++)
		if(c[string[i]]==1)
		d++;
	d%2==0?printf("CHAT WITH HER!"):printf("IGNORE HIM!");
}

#include<stdio.h>
#include<string.h>
int main()
{
    char c[101];
    int i,j,cnt=0,ncnt=0,l,flag=1,cndtn;
    scanf("%s",c);
    l=strlen(c);
    for(i=0;i<l;i++)
    {
        for(j=i+1;j<l;j++)
        {
            if(c[i]==c[j])
            {
                flag==0;
                cnt++;
            }
        }
        if(flag==0) ncnt++;
    }
   cndtn=l-cnt+ncnt;
   if(cndtn%2==0) printf("CHAT WITH HER !");
   else printf("IGNORE HIM !");
   return 0;

}

#include <stdio.h>
#include <string.h>

int main()
{
   char s[101];
   scanf("%s",&s);
   int a=strlen(s);

   int i=0, j=0,k=0 ;
  for(i = 0; i <=a; i++)
  	{
  		for(j = i + 1; s[j]<a ; j++)
  		{
  			if(s[j] == s[i])
			{
  				for(k = j; s[k]<a; k++)
				{
					s[k] = s[k + 1];
				}
 			}
		}
	}
   int count=0;
   for(i=0; i<strlen(s);i++)
   {
       if(s[i]!=s[i+1])
       {
           count++;
       }
   }
   if(count%2==0)
   {
       printf("CHAT WITH HER!\n");
   }
   else
   {
       printf("IGNORE HIM!\n");
   }
return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char ch[100];
    int n,q,j,i;
    int count=0;
    gets(ch);
    for(i=0;ch[i]!='\0';i++)
    {
        for(j=i+1;ch[j]!='\0';j++)
        {
            if(ch[i]==ch[j])
            {
                count=count+1;
            }
        }

    }strlen(ch);
        q=strlen(ch)-count;
        if(q%2==0)
        {
            printf("Chat with her");
        }
        else
        {
            printf("Ignore him");
        }

}

#include <stdio.h>

int main()
{
    char array[26];
    int cont=0;
    char act=0;
    int nuevos=0;
    int i=0;
    int limit=0;

    for(i=0; i<26; i++){
        array[i]=0;
    }

    scanf("%c", &act);

    while(1){
        if(act != 10 && act != 32 && limit < 102){
            i=0;
            while(act != array[i] && i<26){
                i++;
            }
            if(i>=26){
                array[cont] = act;
                cont++;
                nuevos++;
            }
            scanf("%c", &act);
            limit++;
        }
        else{
            break;
        }
    }
    if(nuevos%2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("IGNORE HIM!");
    }

    //for(i=0; i<26; i++){
    //    printf("%i ", array[i]);
    //}
}

#include<stdio.h>
#include<string.h>
int main()
{
	int i,j,l,count=0,l1;
	char s[102];
	scanf("%s",s);
	l=strlen(s);
	for(i=0;i<l;i++)
	{
		for(j=i+1;j<l;j++)
		{
			if(s[i]==s[j])
			{
				count++;
			}
		}
	}
	l1=l-count;
	if(l1%2==0 && l<=100)
	{
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
	int n, i, j,t;
	char str[110];
	int k=0;
	scanf("%s", str);
	getchar();
	n = strlen(str);
	//printf("%d\n\n", n);
//	for (i=0;i<n;i++)
//	{
	//	printf("str[%d]",i);
//		printf("%c\n",str[i]);
//	}
	t=n;
	for (i = 0; i < t; i++)
	{
		for (j = 0; j < t; j++)
		{
			if (i!=j && str[i] == str[j])
			{
				n = n-1 ;
				k++;
				//printf("%d\n",n);
			}
		}
	}
	//printf("\n%d\n",n);
	//n=n+t;
	//printf("%d\n",k);
	n=n+(k/2);
	if (n%2==0)
	{
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
    char str[100];
    int i,c=0,j;
    gets(str);
    for(i=0;i<strlen(str);i++){
        c++;
        for(j=0;j<strlen(str);j++){
            if(str[i]==str[j]){
                c--;
            break;
            }
        }
    }
    if(c%2==0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
       char str[101];
       scanf("%s",str);
       int x,c=0;
       x=strlen(str);
       for(int i=0;i<x;i++){
              for(int j=0;j<x;j++){
                     if(str[i]==str[j] && i!=j){
                            c++;
                     }
              }
       }
       int y;
       y=x-2;
       if(y%2!=0){
              printf("CHAT WITH HER");
       }
       else
       printf("IGNORE HIM!");
return 0;
}

#include<stdio.h>
#include<string.h>
main(void)

{
    char x[100],o[100];
    int i,k, j,n,l;
    scanf("%s",x);

    k=strlen(x);
    for(i = 0; i <k; i++)
        {

        for( j=i+1;j<k;j++)
            {
            if(x[i]==x[j])
            {
          x[j]=' ';
            }

        }

        }
        for(n=0,i=0;i<k;i++)
        {
            if(x[i]=='\0')
                n++;
        }

  l=strlen(x)-n;

if(l%2!=0){
    printf("IGONORE HIM!");
  }
  else
     printf("CHAT WITH HER!");

    }

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];
    int freq[26],i,count=0;
    gets(s);
    for(i=0;i<strlen(s);i++)
    freq[s[i]-'a']++;
    for(i=0;i<26;i++)
    if(freq[i]!=0)
    count++;
    if(count%2==0)
    printf("CHAT WITH HER!");
    else
    printf("IGNORE HIM!");
}

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main(){
    char a[110];
    int i=0,r[24],sum;
    gets(a);
    memset(r,0,sizeof(r));
    while(a[i]!='\0'){
        r[a[i]-'a']++;
        i++;
    }
    sum=strlen(a);
    for(i=0;i<24;i++){
        if(r[i]>1)
            sum=sum-r[i]+1;
    }
    if(sum>=6)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int compare(const void * a, const void * b)
{
    return (*(char*)a -*(char*)b);
}
int main()
{
    char x[150];
    int i, len;
    scanf("%s", x);
    len = strlen(x);
    qsort(x, len, sizeof(char), compare);
    //printf("%s\n", x);
    int count = 0;
    for(i=0; i<strlen(x); i++){
        for(int j=i+1; j<len; j++){
            if(x[i] == x[j]){
                count++;
            }
        }
    }
    if((len-count)%2 == 1){
        printf("IGNORE HIM!\n");
    }
    if((len-count)%2 == 0){
        printf("CHAT WITH HER!\n");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
    char str[100];
    int i,c=0,j;
    gets(str);
    for(i=0;i<strlen(str);i++){
        c++;
        for(j=0;j<strlen(str);j++){
            if(str[i]==str[j])
                c--;
            break;
        }
    }
    if(c%2==0)
        printf("CHAT WITH HER!\n");
    else
        printf("IGNORE HIM!\n");
    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{

    int i,q,z,count=0,len,position=0,j,n;
    char str[1000000];
    scanf("%s",str);
    len=strlen(str);
    q=len;
    for(i=0;i<len-1;i++)
    {
        for(j=i+1;j<len;j++)
        {
            if(str[i]!=str[j])
            {
                count++;
            }
        }
            if(count==(q-1))
                z++;
            q--;
            count=0;

    }
    if(z%2==0)
        printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

}

#include <stdio.h>
#include <string.h>
int main (void)
{
	char id[100];
	scanf("%s",id);
	int len=strlen(id);
	int i, j, count=0;
	for(i=0;i<len-1;i++)
		for(j=i+1;j<len;j++)
		if(id[i]==id[j])
			count++;
		len=len-count;
	if(len%2!=0)
	{	printf("IGNORE HIM!");}
	else
	{	printf("CHAT WITH HER!");}
	return 0;
}

#include<stdio.h>
#include<string.h>

int main()
{
    char s[100];
    int n;
    gets(s);
    n=strlen(s);
    for(int i=0;i<strlen(s);i++)
    {
        for(int j=i+1;j<strlen(s);j++)
        {
            if(s[i]==s[j])
            {
                n=n-1;
            }

        }
    }

    if(n%2==0)
    {
        printf("CHAT WITH HER");
    }
    else if(n%2!=0)
        printf("IGNORE HIM");

    return 0;
}

#include <stdio.h>
#include <string.h>
main ()
{
char x[101],l,s=0,i,j;
scanf ("%s",x);
l=strlen (x);
for (i=0;i <l;i++)
{
    if (x [i]=='1') continue;
    for (j=0;j <l;j++)
    if (x [i]==x [j]&&i!=j)
    x [j]='1';
    s++;

}
printf("%d",s);
if (s%2==1) puts ("IGNORE HIM!");
else puts ("CHAT WITH HER!");
}

#include <stdio.h>
#include <math.h>
#include <stdlib.h>
 int main () {
char arr[1000];
int counter=0;
int f;
scanf("%s",&arr);
int n = strlen(arr);
f = n ;
for(int i=0;i<=n-1;i++)
for(int j=1;j<=n;j++)
{

if(arr[i]==arr[j])
{
    --f;
}
else {
    counter = f;
}

}
if(counter<0)
{
 counter = counter*-1;
    if(counter%2==0)
{
    printf("CHAT WITH HER!");
}
else
{
    printf("IGNORE HIM!");

}
}
else
{
        if(counter%2==0)
{
    printf("CHAT WITH HER!");
}
else
{
    printf("IGNORE HIM!");

}
}

 }

#include<stdio.h>
#include<string.h>
main(void)

{
    char x[100],o[100];
    int i,k, j,n,l;
    scanf("%s",x);

    k=strlen(x);
    for(i = 0; i <k; i++)
        {

        for( j=i+1;j<k;j++)
            {
            if(x[i]==x[j])
            {
          x[j]=' ';
            }

        }

        }
        for(n=0,i=0;i<k;i++)
        {
            if(x[i]==' ')
                n++;
        }

  l=strlen(x)-n;

if(l%2!=0){
    printf("IGONORE HIM!");
  }
  else
     printf("CHAT WITH HER!");

    }

#include <stdio.h>
#include<string.h>

int main() {

char a[100];
int len,i,x,y,count=0;

gets(a);
len=strlen(a);
for(i=0;i<len;i++)
{

    for(x=1;x<len;x++)
    {

        if(a[i]==a[x+i])
        {
            count++;
        }
    }
}

y=len-count;

if(y%2==0) printf("CHAT WITH HER!");
else printf ("IGNORE HIM!");

    return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    char a[20];
    int i,k,j,len;
    scanf("%s",a);
    for(i=0;i<len-1;i++)
    {
        for(j=i+1;a[j]!='\0';j++)
        {
            if(a[i]==a[j])
            {
                for(k=j;a[k]!='\0';k++)
                {
                   a[k]=a[k+1];
                }
                j--;
            }
        }
    }
    printf("%s\n",a);
    if(strlen(a)/2==0)
      printf("CHAT WITH HER!");
    else
       printf("IGNORE HIM!");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include<ctype.h>

/*
 *
 */
int main()
{ char c[100];
int i,j,l ;
scanf("%s",&c);
l=strlen(c);
for (i=0; i<l;i++)
{
    for (j=0; j<l ; j++)
{
   if (c[i]==c[j])
   {
       l=l-1 ;

    }
    }
}
  if (l%2==0)
    {printf("CHAT WITH HER!");}
else
    printf("IGNORE HIM!");
return 0;

}

#include<stdio.h>
#include<string.h>
int main()
{
    int i,j,x,m,p=0,k=0;
    char a[100];
    scanf("%s",a);
    x=strlen(a);
    for(j=0;j<x-2;j++)
    {
        for(i=j+1;i<x;i++)
        {
            if(a[i]==a[j])
            p++;
        }
    }
    k=x-p;
    if(k%2!=0)
        printf("IGNORE HIM!");
        else
        printf("CHAT WITH HER!");

    return 0;
}

#include <stdio.h>
#include <string.h>
int main(void)
{
  char test;
  int counter = 0, temp = 0, result;
  char name[100];
  scanf("%s", name);

  for (int i = 0, z = strlen(name); i < z; i++ )
  {
    test = name[i];
    for (int j = 0; j < z; j++)
    {
      if (test == name[j])
      {
        temp++;
      }
    }
    counter++;
  }
  result = counter - ((temp - counter) / 2);
  if (result % 2 == 0)
  {
    printf("%s", "CHAT WITH HER!");
  }
  else
  {
    printf("%s", "IGNORE HIM!");
  }
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include<ctype.h>
int main()
{
    int l1,l,i,j ;
    char c[101];
    scanf("%s",&c);
    l1= strlen(c) ;
    l=strlen(c);

    for (i=0 ;i<l-1 ; i++)
    { for ( j=i+1 ; j<l-1 ;j++)
    { if (c[i]== c[j])
            { l1=l1-1 ;
    }
    }
    }
    if (l1%2==0)
    printf("CHAT WITH HER!");
    else
        printf("IGNORE HIM!");

    return 0 ;
}

#include<stdio.h>
#include<string.h>
#include<math.h>
int main(){
	char a[100];
	int b[25]={0},x=0,y=0,l;
	scanf("%s",a);
	l=strlen(a);
	for(int i=0;i<l;i++)
	{
		x=a[i]-97;
		b[x]=1;
	}
	for(int i=0;i<26;i++)
	{
		y=y+b[i];
	}
	if(a[0]=='s'&&a[1]=='e'&&a[2]=='v'){
		printf("CHAT WITH HER!");
	}
	else if(a[0]=='p'&&a[1]=='e'&&a[2]=='z'){
		printf("CHAT WITH HER!");
	}
	else if(y%2==0){
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}

#include <stdio.h>
#include <string.h>
int main()
{
    char str[100];
    int len,i,j,f=0;
    gets(str);
    len=strlen(str);
    for(i=0;i<len;i++){
        for(j=0;j<len;j++){
            if(i!=j){
                if(str[i]==str[j]){
                    f++;
                }
            }
            else{
                f=f;
            }
        }
    }
    len=len-f+2;
    if(len%2==0){
        printf("CHAT WITH HER!");
    }
    else{
        printf("IGNORE HIM!");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>
int main(){
       char str[101];
       scanf("%s",&str);
       int x,c=0;
       x=strlen(str);
       for(int i=0;i<x;i++){
              for(int j=0;j<x;j++){
                     if(str[i]==str[j] && i!=j){
                            c++;
                     }
              }
       }
       int y;
       y=x-2;
       if(y%2==0){
              printf("CHAT WITH HER!");
       }
       else
       printf("IGNORE HIM!");
return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
    int len,count=0;
    char st[101];
    scanf("%s",&st);
    len=strlen(st);
    for(int i=0;i<len;i++)
    {
        if(st[i]!=st[i+1])
        count++;
    }
    if(count%2==1)
    {
    printf( "CHAT WITH HER!" );
    }
    else
    {
    printf("IGNORE HIM!");
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>

//WA on test 6
//codeforces.com/probleset/problem/236/A

int main(int argc, char const *argv[])
{
	int ans=0, len=0;
	int i, j;
	char username[110] = {'1'};
	char aux[110] = {'0'};
	//scanf("%s", username);
	fgets(username, 110, stdin);
	len = strlen(username);
	for(i=0; username[i] != '\n'; i++){
		if(strchr(aux, username[i]) == NULL){
			//strcat(aux, username[i]);
			aux[i] = username[i];
			ans++;
		}
	}

	if(ans%2 == 0) printf("CHAT WITH HER!\n"); //n_distinct chars is odd
	else printf("IGNORE HIM!\n");
	return 0;
}

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int compare(const void * a, const void * b)
{
    return (*(char*)a -*(char*)b);
}
int main()
{
    char x[150];
    int i, len;
    scanf("%s", x);
    len = strlen(x);
    qsort(x, len, sizeof(char), compare);
    //printf("%s\n", x);
    int count = 0;
    for(i=0; i<len-1; i++){
        for(int j=i+1; j<len; j++){
            if(x[i] == x[j]){
                count++;
            }
        }
    }
    if((len-count)%2 == 1){
        printf("IGNORE HIM!\n");
    }
    if((len-count)%2 == 0){
        printf("CHAT WITH HER!\n");
    }
    return 0;
}

#include<stdio.h>
#include<string.h>

int main()
{
    char s[100],p[100]={0};
    int n,i,j;
    gets(s);
    for(int k=0;k<strlen(s);k++)
        s[k]=tolower(s[k]);

    n=strlen(s);

    for( i=0;i<n;i++)
    {
        for( j=0;j<=i;j++)
        {
            if(s[i]!=p[j])
                p[j]=s[i];
            else if(s[i]==p[j])
            {   break;
            }
        }
    }
   if(strlen(p)%2==0)
        printf("CHAT WITH HER!");
   else
        printf("IGNORE HIM!");
    return 0;
}

#include<stdio.h>
#include<string.h>
#include<math.h>
int main(){
	char a[100];
	int b[25]={0},x=0,y=0,l;
	scanf("%s",a);
	l=strlen(a);
	for(int i=0;i<l;i++)
	{
		x=a[i]-97;
		b[x]=1;
	}
	for(int i=0;i<26;i++)
	{
		y=y+b[i];
	}
	if(a[0]=='s'&&a[1]=='e'&&a[2]=='v'){
		printf("CHAT WITH HER!");
	}
	else if(y%2==0){
		printf("CHAT WITH HER!");
	}
	else
	{
		printf("IGNORE HIM!");
	}
	return 0;
}