semeru/Code-Code-CloneDetection-POJ104 huggingface dataset:
int main(){
	char a[301];
	int c[26];
	int C[26];
	for(int n=0;n<26;n++){
		c[n]=0;
		C[n]=0;
	}
	scanf("%s",a);
	int length;
	length=strlen(a);
	for(int i=0;i<length;i++){
		if(a[i]>='a'&&a[i]<='z'){
			c[a[i]-'a']++;
		}
		if(a[i]>='A'&&a[i]<='Z'){
			C[a[i]-'A']++;
		}
	}
	char x;
	int m=0;
	for(int j=0;j<26;j++){
		if(C[j]!=0){
			if(m==0){
				x=j+'A';
			    printf("%c=%d",x,C[j]);
			}
			else{
				x=j+'A';
			    printf("\n%c=%d",x,C[j]);
			}
			m++;
		}
	}
	for(int k=0;k<26;k++){
		if(c[k]!=0){
			x=k+'a';
			printf("\n%c=%d",x,c[k]);
			m++;
		}
	}
	if(m==0){
		printf("No");
	}
	return 0;
}
int main ()
{
  int n,num[128]={0},i,j=0;
  char zf[300],c;
  scanf("%s",zf);
  i=0;
 for(i=0;zf[i]!=0;i++)
{
    n=zf[i];
    if(((65<=n)&&(n<=90))||((97<=n)&&(n<=122)))
     {
       num[n]++;
       j++;
     }
  }
  if(j==0)
  printf("No");
  else
  {
     for(i=65;i<123;i++)
      {
         if(num[i]!=0)
          {
            c=i;
            printf("%c=%d\n",c,num[i]);
          }
       }
   }

  return 0;
}
int main()
{
	char a[301],c;
	int t[26]={0},n,i,j,b=0;
	scanf("%s",a);
	n=strlen(a);
	c='a';
	for(i=0;i<n;i++)
	{
        for(j=0;j<26;j++)
		{
			if(a[i]==(char)(c+j))
			{
				t[j]+=1;
			}
		}
	}
	for(i=0;i<26;i++)
	{
		if(t[i]!=0)
		{
			printf("%c=%d\n",(char)(c+i),t[i]);
		}
		else{b++;}
	}
	if(b==26)
	{
		printf("No");
	}
	return 0;
}
int main()
{
	char str[300];
	int i,j,count[300]={0},lon,t=0;
	gets(str);
	lon=strlen(str);
	for(i='A';i<='Z';i++)
		for(j=1;j<=lon;j++)
			if(str[j-1]==i)
				count[i-1]++;
	for(i='a';i<='z';i++)
		for(j=1;j<=lon;j++)
			if(str[j-1]==i)
				count[i-1]++;
	for(i=1;i<=300;i++)
		if(count[i-1]!=0)
		{
			t=1;
			break;
		}
		if(t==0)
			printf("No");
		else
			for(i=1;i<=300;i++)
				if(count[i-1]!=0)
					printf("%c=%d\n",i,count[i-1]);
}
int main()
{
	char a[300];
	int b[128]={0},i,j,k,l=0;
	scanf("%s",a);
	k=strlen(a);
	for(i=0;i<k;i++)
	{
		j=a[i];
		if((j>64&&j<91)||(j>96&&j<123)) b[j]++;
	}
	for(j=65;j<91;j++)
	{
		if(b[j]>0) 
		{
			if(l==0) printf("%c=%d",j,b[j]);
			else printf("\n%c=%d",j,b[j]);
			l++;
		}
	}
	for(j=97;j<123;j++)
	{
		if(b[j]>0) 
		{
			if(l==0) printf("%c=%d",j,b[j]);
			else printf("\n%c=%d",j,b[j]);
			l++;
		}
	}
	if(l==0) printf("No");
	return 0;
}
int main()
{char a[301];
int n,i,s[53]={0},flag=0;
int f (char b,int s[]);
gets(a);
n=strlen(a);
for(i=0;i<n;i++){
if(f(a[i],s))
flag++;
}
if(flag==0)
printf("No");
else {
for(i=0;i<52;i++)
{if(s[i]==0)
continue;
else
{if(i>=26&&i<=52)
printf("%c=%d\n",i+71,s[i]);
if(i>=0&&i<=25)

printf("%c=%d\n",i+65,s[i]);
}
}
}
return 0;
}
int f (char b,int s[])
{int flag=0;
	if(b>=65&&b<=90)
{s[b-65]++;
flag=1;}
if(b>=97&&b<=122)
{s[b-71]++;
flag=1;}
return flag;
}
void main()
{
	int i,j,flag=0;
	char a[300];
	int b[26]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},c[26]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
	scanf("%s",a);
	for(i=0;a[i]!='\0';i++)
	{
		if(a[i]>='A'&&a[i]<='Z') 
		{
			j=a[i]-'A';
			b[j]++;
			flag=1;
		}
		else if(a[i]>='a'&&a[i]<='z') 
		{
			j=a[i]-'a';
			c[j]++;
			flag=1;
		}

	}
	if(flag==0) printf("No");
	else
	{
	for(i=0;i<26;i++)
	{
		if(b[i]==0) 
		{
			
		}
		else
		{
			printf("%c=%d\n",i+'A',b[i]);
		}
	}
	for(i=0;i<26;i++)
	{
		if(c[i]==0) 
		{
			
		}
		else
		{
			printf("%c=%d\n",i+'a',c[i]);
		}
	}
	}

}
void main()
{
    char a[300];
    int i,b[130]={0},p=0;
    gets(a);
    for(i=0;a[i];i++)
    {
    	switch(a[i])
    	{
    		case 'A':b[65]++;break;
    		case 'B':b[66]++;break;
    		case 'C':b[67]++;break;
    		case 'D':b[68]++;break;
    		case 'E':b[69]++;break;
    		case 'F':b[70]++;break;
    		case 'G':b[71]++;break;
    		case 'H':b[72]++;break;
    		case 'I':b[73]++;break;
    		case 'J':b[74]++;break;
    		case 'K':b[75]++;break;
    		case 'L':b[76]++;break;
    		case 'M':b[77]++;break;
    		case 'N':b[78]++;break;
    		case 'O':b[79]++;break;
    		case 'P':b[80]++;break;
    		case 'Q':b[81]++;break;
    		case 'R':b[82]++;break;
    		case 'S':b[83]++;break;
    		case 'T':b[84]++;break;
    		case 'U':b[85]++;break;
    		case 'V':b[86]++;break;
    		case 'W':b[87]++;break;
    		case 'X':b[88]++;break;
    		case 'Y':b[89]++;break;
    		case 'Z':b[90]++;break;
    		case 'a':b[97]++;break;
    		case 'b':b[98]++;break;
    		case 'c':b[99]++;break;
    		case 'd':b[100]++;break;
    		case 'e':b[101]++;break;
    		case 'f':b[102]++;break;
    		case 'g':b[103]++;break;
    		case 'h':b[104]++;break;
    		case 'i':b[105]++;break;
    		case 'j':b[106]++;break;
    		case 'k':b[107]++;break;
    		case 'l':b[108]++;break;
    		case 'm':b[109]++;break;
    		case 'n':b[110]++;break;
    		case 'o':b[111]++;break;
    		case 'p':b[112]++;break;
    		case 'q':b[113]++;break;
    		case 'r':b[114]++;break;
    		case 's':b[115]++;break;
    		case 't':b[116]++;break;
    		case 'u':b[117]++;break;
    		case 'v':b[118]++;break;
    		case 'w':b[119]++;break;
    		case 'x':b[120]++;break;
    		case 'y':b[121]++;break;
    		case 'z':b[122]++;break;
    		default: a[i]=0;
    	}
    }
    for(i=65;i<123;i++)
    if(b[i]!=0) {p=1;printf("%c=%d\n",i,b[i]);}
    if(p==0) printf("No");
}
int main()
{
	char sz[300];
	int letter[26]={0},i,j,x=0;
	scanf("%s",sz);
	for(i=0;sz[i]!='\0';i++){
		for(j=0;j<26;j++){
			if(sz[i]==97+j){
			letter[j]++;
			}
		}
	}
	for(j=0;j<26;j++){
		if(letter[j]!=0){
	 		printf("%c=%d\n",97+j,letter[j]);
			x++;
		}
	}
	if(x==0){
		printf("No\n");
	}
	return 0;
}
int main()
{
	char str[100];
	char mod[100]={"abcdefghijklmnopqrstuvwxyz"};
	int i,l,n,t,j;
	gets(str);
	l=strlen(str);
	for(i=0;i<26;i++)
	{
		n=0;
		t=100;
		for(j=l-1;j>=0;j--)
		{
		    if(str[j]==mod[i])
			{
				t=i;
				n++;
			}
		}
		if(t!=100)
		printf("%c=%d\n",mod[t],n);
	}
	t=0;
	for(j=0;j<l;j++)
	{
	
		if(str[j]>'a'&&str[j]<'z')
			t++;
	}
	if(t==0)
	printf("No");
	return 0;
}
void main()
{
	int i,j,l,sum,temp=0;
	char a[1000],b[1000];
	gets(a);
	l=strlen(a);
	j=65;
	while(j<=90||(j>=97&&j<=122))
	{
		sum=0;
		for(i=0;i<l;i++)
		{
			if(a[i]==j)
				sum=sum+1;
		}
		if(sum>0)
		{
			b[j]=j;
			printf("%c=%d\n",b[j],sum);
			temp=1;
		}
		j=j+1;
	}
	j=97;
	while(j>=97&&j<=122)
	{
		sum=0;
		for(i=0;i<l;i++)
		{
			if(a[i]==j)
				sum=sum+1;
		}
		if(sum>0)
		{
			b[j]=j;
			printf("%c=%d\n",b[j],sum);
			temp=1;
		}
		j=j+1;
	}
	if(temp==0)
		printf("No");
}
int main(){
    char xulie[LEN],daxiezimu[LEN1],xiaoxiezimu[LEN1],*ps;
    int daxiecishu[LEN2],xiaoxiecishu[LEN2];
    int a=0,b,c=0,d,e,f,i;
    scanf("%s",xulie);
    for(b=0;b<LEN2;b++){
      daxiecishu[b]=0;
      xiaoxiecishu[b]=0;
    }
    for(i=0;i<strlen(xulie);i++){
      if(xulie[i]>='A'&&xulie[i]<='Z'){
        daxiezimu[xulie[i]-'A']=xulie[i];
        daxiecishu[xulie[i]-'A']++;
        c++;
      }
      if(xulie[i]>='a'&&xulie[i]<='z'){
        xiaoxiezimu[xulie[i]-'a']=xulie[i];
        xiaoxiecishu[xulie[i]-'a']++;
        a++;
      }  
    }
    if(a+c!=0){
    for(e=0;e<LEN1-1;e++){
      if(daxiecishu[e]!=0){
        printf("%c=%d\n",daxiezimu[e],daxiecishu[e]);
      } 
    }
    
     for(f=0;f<LEN1-1;f++){
      if(xiaoxiecishu[f]!=0){
        printf("%c=%d\n",xiaoxiezimu[f],xiaoxiecishu[f]);
      } 
    }
    }
    if(a+c==0){
      printf("No");           
    }
    return 0;
}
int main()
{
	char str[300];
	int word[27];
	int i,S=0;
	scanf("%s",str);
	for(i=0;i<27;i++){
		word[i]=0;
	}
	for(i = 0 ; i<strlen(str) ; i++){
		if(str[i]=='a'){
			word[1]++;
		}
		if(str[i]=='b'){
			word[2]++;
		}
		if(str[i]=='c'){
			word[3]++;
		}
		if(str[i]=='d'){
			word[4]++;
		}
		if(str[i]=='e'){
			word[5]++;
		}
		if(str[i]=='f'){
			word[6]++;
		}
		if(str[i]=='g'){
			word[7]++;
		}
		if(str[i]=='h'){
			word[8]++;
		}
		if(str[i]=='i'){
			word[9]++;
		}
		if(str[i]=='j'){
			word[10]++;
		}
		if(str[i]=='k'){
			word[11]++;
		}
		if(str[i]=='l'){
			word[12]++;
		}
		if(str[i]=='m'){
			word[13]++;
		}
		if(str[i]=='n'){
			word[14]++;
		}
		if(str[i]=='o'){
			word[15]++;
		}
		if(str[i]=='p'){
			word[16]++;
		}
		if(str[i]=='q'){
			word[17]++;
		}
		if(str[i]=='r'){
			word[18]++;
		}
		if(str[i]=='s'){
			word[19]++;
		}
		if(str[i]=='t'){
			word[20]++;
		}
		if(str[i]=='u'){
			word[21]++;
		}
		if(str[i]=='v'){
			word[22]++;
		}
		if(str[i]=='w'){
			word[23]++;
		}
		if(str[i]=='x'){
			word[24]++;
		}
		if(str[i]=='y'){
			word[25]++;
		}
		if(str[i]=='z'){
			word[26]++;
		}
	}
	for(i=1;i<27;i++){
		S+=word[i];
	}
	if(S==0){
		printf("No\n");
	}
	if(word[1]!=0){
		printf("a=%d\n",word[1]);
	}
	if(word[2]!=0){
		printf("b=%d\n",word[2]);
	}
	if(word[3]!=0){
		printf("c=%d\n",word[3]);
	}
	if(word[4]!=0){
		printf("d=%d\n",word[4]);
	}
	if(word[5]!=0){
		printf("e=%d\n",word[5]);
	}
	if(word[6]!=0){
		printf("f=%d\n",word[6]);
	}
	if(word[7]!=0){
		printf("g=%d\n",word[7]);
	}
	if(word[8]!=0){
		printf("h=%d\n",word[8]);
	}
	if(word[9]!=0){
		printf("i=%d\n",word[9]);
	}
	if(word[10]!=0){
		printf("j=%d\n",word[10]);
	}
	if(word[11]!=0){
		printf("k=%d\n",word[11]);
	}
	if(word[12]!=0){
		printf("l=%d\n",word[12]);
	}
	if(word[13]!=0){
		printf("m=%d\n",word[13]);
	}
	if(word[14]!=0){
printf("n=%d\n",word[14]);
	}
	if(word[15]!=0){
		printf("o=%d\n",word[15]);
	}
	if(word[16]!=0){
		printf("p=%d\n",word[16]);
	}
	if(word[17]!=0){
		printf("q=%d\n",word[17]);
	}
	if(word[18]!=0){
		printf("r=%d\n",word[18]);
	}
	if(word[19]!=0){
		printf("s=%d\n",word[19]);
	}
	if(word[20]!=0){
		printf("t=%d\n",word[20]);
	}
	if(word[21]!=0){
		printf("u=%d\n",word[21]);
	}
	if(word[22]!=0){
		printf("v=%d\n",word[22]);
	}
	if(word[23]!=0){
		printf("w=%d\n",word[23]);
	}
	if(word[24]!=0){
		printf("x=%d\n",word[24]);
	}
	if(word[25]!=0){
		printf("y=%d\n",word[25]);
	}
	if(word[26]!=0){
		printf("z=%d\n",word[26]);
	}
    return 0;
}
int main()
{
	char ch[SIZE];
	int count[52]={0};
	char zimu[52]={'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','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'};
	int i,length,sum=0;
	gets(ch);
	length=strlen(ch);
	for(i=0;i<length;i++)
	{
		if(ch[i]=='A')
		{
			count[0]++;
		}
		else if(ch[i]=='B')
		{
			count[1]++;
		}
		else if(ch[i]=='C')
		{
			count[2]++;
		}
		else if(ch[i]=='D')
		{
			count[3]++;
		}
		else if(ch[i]=='E')
		{
			count[4]++;
		}
		else if(ch[i]=='F')
		{
			count[5]++;
		}
		else if(ch[i]=='G')
		{
			count[6]++;
		}
		else if(ch[i]=='H')
		{
			count[7]++;
		}
		else if(ch[i]=='I')
		{
			count[8]++;
		}
		else if(ch[i]=='J')
		{
			count[9]++;
		}
		else if(ch[i]=='K')
		{
			count[10]++;
		}
		else if(ch[i]=='L')
		{
			count[11]++;
		}
		else if(ch[i]=='M')
		{
			count[12]++;
		}
		else if(ch[i]=='N')
		{
			count[13]++;
		}
		else if(ch[i]=='O')
		{
			count[14]++;
		}
		else if(ch[i]=='P')
		{
			count[15]++;
		}
		else if(ch[i]=='Q')
		{
			count[16]++;
		}
		else if(ch[i]=='R')
		{
			count[17]++;
		}
		else if(ch[i]=='S')
		{
			count[18]++;
		}
		else if(ch[i]=='T')
		{
			count[19]++;
		}
		else if(ch[i]=='U')
		{
			count[20]++;
		}
		else if(ch[i]=='V')
		{
			count[21]++;
		}
		else if(ch[i]=='W')
		{
			count[22]++;
		}
		else if(ch[i]=='X')
		{
			count[23]++;
		}
		else if(ch[i]=='Y')
		{
			count[24]++;
		}
		else if(ch[i]=='Z')
		{
			count[25]++;
		}
		else if(ch[i]=='a')
		{
			count[26]++;
		}
		else if(ch[i]=='b')
		{
			count[27]++;
		}
		else if(ch[i]=='c')
		{
			count[28]++;
		}
		else if(ch[i]=='d')
		{
			count[29]++;
		}
		else if(ch[i]=='e')
		{
			count[30]++;
		}
		else if(ch[i]=='f')
		{
			count[31]++;
		}
		else if(ch[i]=='g')
		{
			count[32]++;
		}
		else if(ch[i]=='h')
		{
			count[33]++;
		}
		else if(ch[i]=='i')
		{
			count[34]++;
		}
		else if(ch[i]=='j')
		{
			count[35]++;
		}
		else if(ch[i]=='k')
		{
			count[36]++;
		}
		else if(ch[i]=='l')
		{
			count[37]++;
		}
		else if(ch[i]=='m')
		{
			count[38]++;
		}
		else if(ch[i]=='n')
		{
			count[39]++;
		}
		else if(ch[i]=='o')
		{
			count[40]++;
		}
		else if(ch[i]=='p')
		{
			count[41]++;
		}
		else if(ch[i]=='q')
		{
			count[42]++;
		}
		else if(ch[i]=='r')
		{
			count[43]++;
		}
		else if(ch[i]=='s')
		{
			count[44]++;
		}
		else if(ch[i]=='t')
		{
			count[45]++;
		}
		else if(ch[i]=='u')
		{
			count[46]++;
		}
		else if(ch[i]=='v')
		{
			count[47]++;
		}
		else if(ch[i]=='w')
		{
			count[48]++;
		}
		else if(ch[i]=='x')
		{
			count[49]++;
		}
		else if(ch[i]=='y')
		{
			count[50]++;
		}
		else if(ch[i]=='z')
		{
			count[51]++;
		}
	}
	for(i=0;i<52;i++)
	{
		sum+=count[i];
	}
	if(sum==0)
	{
		printf("No");
	}
	else
	{
		for(i=0;i<52;i++)
		{
			if(count[i]>0)
			{
				printf("%c=%d\n",zimu[i],count[i]);
			}
		}
	}
	return 0;
}
main()
{
	char a[501],c[26],b[26];
	int i,j,sum=0;
	gets(a);
	for(i=0;i<26;i++)
		b[i]='a'+i;
	for(i=0;i<26;i++)
		c[i]=0;
	for(i=0;i<26;i++)
	{
		for(j=0;a[j]!='\0';j++)
		{
			if(b[i]==a[j])
				c[i]=c[i]+1;
		}
	}
	for(i=0;a[i]!='\0';i++)
		sum=sum+c[i];
	if(sum==0)
		printf("No");
	else
	{
		for(i=0;i<26;i++)
		{
			if(c[i]!=0)
				printf("%c=%d\n",b[i],c[i]);
		}
	}
}
int main (int argc, char *argv[])
{
    int  all, i;
    char str[300],t[300];
    gets(str); 
    all=0;
    memset(t, 0, sizeof(t));
    for (i = 0; str[i] != '\0'; i++){
        if (str[i] >= 'a' && str[i] <= 'z') {
                   t[str[i]]++;
                   all++;
        }
    }
    if (all == 0)
       printf("No\n");
    else {
         for (i = 'a'; i <= 'z'; i++){
             if (t[i] > 0){
                printf("%c=%d\n", (char)i, t[i]);
             }
         }
    }
  return 0;
}
int charnum(char c, char m[]);
int main()
{
	char zifu[301];
	scanf ("%s",zifu);
	int j;
	int sum,no=0;
 	for (j=97;j<123;j++)
	{
	    sum=charnum((char)j,zifu);
		if (sum!=0)
		{
			printf ("%c=%d\n",j,sum);
			no++;
		}
	}
	
	if(no==0)
	{
		printf ("No");
	}
	return 0;
}

int charnum(char c, char m[])
{
	int len = strlen(m) ;
	int i,sum=0;
		for(i=0;i<len;i++)
		{
			if (m[i]==c)
			{
				sum ++ ;
			}
		}
	return sum;
}
int main()
{
	int i,j=0,a,b[52]={0};
	char s[301];
	scanf("%s",s);
	a=strlen(s);
    for(i=0;i<a;i++)
	{
		if(s[i]>=65&&s[i]<=90)
			b[s[i]-65]++;
		if(s[i]>=97&&s[i]<=122)
			b[s[i]-71]++;
	}
	for(i=0;i<26;i++)
	{
        if(b[i]>0)
		{
			j++;
			printf("%c=%d\n",i+65,b[i]);
	
		}
	}
	for(i=26;i<52;i++)
		if(b[i]>0)
		{
			j++;
			printf("%c=%d\n",i+71,b[i]);
		}
	if(j==0)
		printf("No");
	return 0;
}
int main(){
	char zfc[300],i;
	int dec=0,tag,cs[26]={0},m=0,j;
	scanf("%s",zfc);
	int n=strlen(zfc);
	for(i='A';i<='Z';i++){
		tag=0;
		for(j=0;j<n;j++){
			if(zfc[j]==i){
				cs[m]++;
				dec=1;
				tag=1;
			}
		}
		if(tag!=0){
			printf("%c=%d\n",i,cs[m]);
			m++;
		}
	}
	for(i='a';i<='z';i++){
		tag=0;
		for(j=0;j<n;j++){
			if(zfc[j]==i){
				cs[m]++;
				dec=1;
				tag=1;
			}
		}
		if(tag!=0){
			printf("%c=%d\n",i,cs[m]);
			m++;
		}
	}
	if(dec==0){
		printf("No");
	}
	return 0;
}
int main() {
	char n[301],temp;
	int a[27]={0},b[27]={0},t=0,i,j,len;
	scanf("%s",&n);
	len=strlen(n);
	for(i=0;i<=len;i++) {
		if(n[i]>='A'&&n[i]<='Z') {
			for(j=1;j<=26;j++) {
				if(n[i]==j+64) {
					a[j]+=1;
					t=1;
				}
			}
		}
		if(n[i]>='a'&&n[i]<='z') {
			for(j=1;j<=26;j++) {
				if(n[i]==j+96) {
					b[j]+=1;
					t=1;
				}
			}
		}
	}
	if(t==1) {
		for(i=1;i<=26;i++) {
			if(a[i]!=0) {
				temp=i+64;
				printf("%c=%d\n",temp,a[i]);
			}
		}
		for(i=1;i<=26;i++) {
			if(b[i]!=0) {
				temp=i+96;
				printf("%c=%d\n",temp,b[i]);
			}
		}
	}
	else {
		printf("No");
	}
	return 0;
}
int main(){
	char str[301];
	scanf("%s", str);

	int array[26] = {0};

	int i = 0, j = 0;
	while(str[i] != '\0'){
		if((str[i] >= 'a') && (str[i] <= 'z')){
			array[str[i] - 'a'] += 1;
                        j++;
		}
		i++;
	}
       
        if( j == 0) printf("No\n");
	i = 0;
	char c = 'a';
	while( i < 26 ){
		if(array[i] != 0){
                        c = i + 'a';
			printf("%c=%d\n\n", c, array[i]);
		}
		i++;
	}
        return 0;
}
int main()
{
	char zfc[300],j;
	int l,i,s[26]={0};
	scanf("%s",zfc);
	l=strlen(zfc);
	for(i=0;i<l;i++)
	{
		for (j=97;(int)j<=122;(int)j++)
		{
			if(zfc[i]==(char)j)
				s[(int)j-97]++;
		}
	}
	int a=0;
	for(i=0;i<26;i++)
	{
		if(s[i]!=0)
		{
			printf("%c=%d\n",(char)(i+97),s[i]);
			a=1;
		}
	}
	if (a==0)
		printf("No");
	return 0;
}
int main()
{
	char A[302];
	int i,n,k,j;
	scanf("%s",&A);
	k=0;
	j=0;
	for(n='a';n<='z';n++)
	{
		k=0;
		for(i=0;A[i]!=0;i++)
		{
			if(A[i]==n)
				k++;
		}

if(k!=0)
		{
			printf("%c=%d\n",n,k);
			j++;
		}
	
	}
	if(j==0)
		printf("No\n");

	return 0;
}
int main()
{
	char a[1000];
	int i,m,n,j,i1,j1,i2,j2,s0,s=0,k=0;
	int count[200]={0};
	char x;
	gets(a);
	n=strlen(a);
	for(i=0;i<n;i++)
	{
		x=a[i];
		for(j=65;j<91;j++)
		{
			if(x==j)
			{
				count[j]++;
			}
		}
		for(j=97;j<123;j++)
		{
			if(x==j)
			{
				count[j]++;
			}
		}
	}
	for(i=65;i<123;i++)
	{
		if(count[i]!=0)
		{
			x=i;
			printf("%c=%d\n",x,count[i]);
			k=1;
		}
	}
	if(k==0)
	{
		printf("No");
	}
	return 0;
}
void main()
{
	char a[300],b[26]={'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'};
	int c[26]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},i,j,t=0;
	scanf("%s",a);
	for(i=0;i<strlen(a);i++)
		for(j=0;j<26;j++)
		{
			if(a[i]==b[j])
			{	c[j]=c[j]+1;
			t=1;}
		}
		if(t==0)
			printf("No");
		else
			for(i=0;i<26;i++)
			{
				if(c[i]!=0)
				printf("%c=%d\n",b[i],c[i]);
			}
}
int main(){
	char zfc[300];
	int geshu[52];
	char zimu[52];
	int i,j;
	int s=0;
	int n;
	for(i=0;i<26;i++){
		geshu[i]=0;
		zimu[i]=65+i;
	}
	for(i=26;i<52;i++){
		geshu[i]=0;
		zimu[i]=71+i;
	}
	scanf("%s",zfc);
	n=strlen(zfc);
	for(j=0;j<n;j++){
		for(i=0;i<52;i++){
			if(zfc[j]==zimu[i]){
				geshu[i]+=1;
			}
		}
	}
	for(i=0;i<52;i++){
		if(geshu[i]!=0){
			s+=geshu[i];
		  printf("%c=%d\n",zimu[i],geshu[i]);
		}
	}
	if(s==0){
			printf("No");
	}
	return 0;
}
int main()
{
    char ch, str[301];
    int i, len, no=1, counter[26]={0};
    /* ????? */
    scanf("%s", str);
    /* ???????? */
    len = strlen(str);
    /* ????????????? */
    for (i=0; i<len; i++) {
        ch = str[i];
        if (ch >= 'a' && ch <= 'z') {
            counter[ch-'a']++;
            no = 0;
        }
    }
    /* ???????? */
    for (ch='a'; ch<='z'; ch++) {
        if (counter[ch-'a'] > 0) {
            printf("%c=%d\n", ch, counter[ch-'a']);
        }
    }
    /* ??????????o */
    if (no) {
        printf("No");
    }
    return 0;
}
void main(){
  int j,m,count,s=0; 
  char i,a[50];
  scanf("%s",a);
  m=strlen(a);
  for(i='A';i<='Z';i++){
  	count=0;
  	for(j=0;j<m;j++){
  		if(a[j]==i){
  			count++;
  		}
  	}
  	if(count){
  		printf("%c=%d\n",i,count);
  	}
  }
  for(i='a';i<='z';i++){
  	count=0;
  	for(j=0;j<m;j++){
  		if(a[j]==i){
  			count++;
  		}
  	}
  	if(count){
  		printf("%c=%d\n",i,count);
  	}
  }
  for(i=0;i<m;i++){
  	if(((a[i]>='A')&&(a[i]<='Z'))||((a[i]>='a')&&(a[i]<='z'))){
  		s++;
  	}
  }
  if(!s){
  	printf("No\n");
  } 
}
int main()
{
    char ch, str[301];
    int i, len, no=1, counter[26]={0},s[26]={0};
    scanf("%s", str);
    len = strlen(str);
    for (i=0; i<len; i++) {
        ch = str[i];
        if (ch >= 'a' && ch <= 'z') {
            counter[ch-'a']++;
            no = 0;
		}
		if(ch>='A'&&ch<='Z'){
			s[ch-'A']++;
			no=0;
        }
    }
	for(ch='A';ch<='Z';ch++){
		if(s[ch-'A']>0){
			printf("%c=%d\n",ch,s[ch-'A']);
		}
	}
    for (ch='a'; ch<='z'; ch++) {
        if (counter[ch-'a'] > 0) {
            printf("%c=%d\n", ch, counter[ch-'a']);
        }
	}
    if (no) {
        printf("No");
    }
    return 0;
}
void main()
{
 char str[305];
 int n,i,m,N[26]={0},p=0;
 gets(str);
 n=strlen(str);
 for(i=0;i<n;i++)
  {
    if(str[i]<='z'&&str[i]>='a') {
      m=str[i]-'a';
      N[m]++;
      p++;
      }
    else continue;
   }
 if(p==0) printf("No");
else
 for(m=0;m<26;m++)
 if(N[m]!=0) printf("%c=%d\n",m+'a',N[m]);
}
int main (){
	char xl[300],zm[300],e;
	int i,m,k=0,n;
	scanf("%s",xl);
	n=strlen(xl);
	
	for (i=0;i<n;i++){
		if ((xl[i]>=65&&xl[i]<=90)||(xl[i]>=97&&xl[i]<=122)){
			  zm[k]=xl[i];
			  k++;
		}
	}
	
	
	for(m=1;m<=k;m++){
		for(i=0;i<k-m;i++){
			if(zm[i]>zm[i+1]){
				  e=zm[i];
				  zm[i]=zm[i+1];
				  zm[i+1]=e;
			}
		}
	}
	zm[k]='\0';
    
	m=0;
	for(i=0;i<k;i++){
		if (zm[i]==zm[i+1]){
			for(m=i+1;m<k;m++){
				if(zm[m]==zm[m+1]) continue;
				else {
			
						printf("%c=%d\n",zm[i],m-i+1);
					    i=m;
					break;
				}
             
			}
		}
		else printf("%c=1\n",zm[i]);
    }
	if(m==0){
		printf("No");
	}
	return 0;
}
int main(int argc, char* argv[])
{
char str[300],*ps,i;
int count=0;
scanf("%s",str);
for(i=0;str[i]!='\0';i++){
if(str[i]>='a'&&str[i]<='z')
count++;
}
if(count==0)
printf("No");
else{
for(i=97;i<=122;i++){
count=0;
for(ps=str;*ps!='\0';ps++){ 
if(*ps==i){
count++;
}
}
if(count!=0)
printf("%c=%d\n",i,count);
}
}
return 0;
}
struct c
{
	char m;
	int n;
};
int main()
{
	struct c fh[90],y;
	char a[400],b[400],x;
	int i,j=0,k,l,t=0,cou;
	scanf("%s",a);
	l=strlen(a);
	for(i=0;i<l;i++)
	{
		if((a[i]>=97&&a[i]<=122)||(a[i]>=65&&a[i]<=90))
		{
			b[j]=a[i];
			j++;
		}
	}
	l=j;
	if(j==0)
	{
		printf("No");
		return 0;
	}
	else
	{
	for(i=0;i<j;i++)
	{
		cou=0;
		for(k=0;k<i;k++)
		{
			if(b[i]==b[k])
				cou++;
		}
		if(cou==0)
		{
			fh[t].m=b[i];
			fh[t].n=0;
			t++;
		}
	}
	for(i=0;i<t;i++)
	{
		for(j=0;j<l;j++)
		{
			if(b[j]==fh[i].m)
				fh[i].n++;
		}
	}
	for(i=t-1;i>0;i--)
	{
		for(j=0;j<i;j++)
		{
			if(fh[i].m<fh[j].m)
			{
				y=fh[i];fh[i]=fh[j];fh[j]=y;
			}
		}
	}
	for(i=0;i<t;i++)
	{
		printf("%c=%d\n",fh[i].m,fh[i].n);
	}
	}
	return 0;
}
int main()
{
   char s[400],*p,*q,t[400]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
   int u[100],i=0,k=0,j=0,f=0;
   for(k=0;k<52;k++){
	   u[k]=0;
   }
   scanf("%s",s);
   for(q=t;*q!='\0';q++){
     for(p=s;*p!='\0';p++){
      if(*p==*q){
	   u[i]++; f=1 ;              
      }
     }
     i++;
   }
   for(q=t;*q!='\0';q++){
    if(u[j]!=0){
	    printf("%c=%d",*q,u[j]);printf("\n");
    }
    j++;
   }
   if(f==0){
	   printf("No");
   }
return 0;
   }
void main()
{
	int num(int i,char letter[100]);
	char letter[100];
	scanf("%s",letter);
	int count=strlen(letter);
	int i,j=0,k=0;
	int a[30];
	for(i=0;i<26;i++) a[i]=num(i,letter);
	for(i=0;i<26;i++){ if(a[i]>0) j++;}
	if(j==0) printf("No");
	else if(j>0)
		for(i=0;i<26;i++) 
		{
			if((a[i]>0)&&(k<j)){printf("%c=%d\n",i+97,a[i]);k++;}    
            else if((a[i]>0)&&(k==j)) printf("%c=%d",i+97,a[i]);
		}
}
int num(int i,char letter[100])
{
	int j;
	int l=0;
	for(j=0;;j++)
	{
		if(letter[j]==i+97) l++;
		if(letter[j]=='\0') break;
	}
    return(l);
}
void main()
{
	char *p1,*p2,a[300],b[26]={'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'};
	int *q,c[26]={0},t=0;
	gets(a);
	for(p1=a;p1<a+strlen(a);p1++)
	{
		for(p2=b,q=c;p2<b+26;p2++,q++)
			if(*p1==*p2)
			{*q=*q+1;t=1;break;}
	}
	for(p2=b,q=c;p2<b+26;p2++,q++)
	{if(*q>0)printf("%c=%d\n",*p2,*q);}
	if(t==0)
		printf("No");
}
int main()
{
	char a[300];
	gets(a);
	int num[26]={0,};
	int i,j;
	for(i=0;a[i]!='\0';i++)
	{
		if((a[i]-'a')>=0&&(a[i]-'a')<=25)
			num[a[i]-'a']+=1;
	}
	for(i=0,j=0;i<=25;i++)
	{
		if(num[i]!=0)
		{
			putchar((char)(i+'a'));
			printf("=%d\n",num[i]);
			j++;
		}
	}
	if(j==0)
		printf("No");
	return(0);
}
int main()
{
	char a[300];
	int i,b[26]={0},t=0;
	scanf("%s",a);
	for(i=0;i<strlen(a);i++)
	{
		if(a[i]>=97&&a[i]<=122)
		{
			b[(a[i]-97)]++;
		}
	}
	for(i=0;i<26;i++)
	{
		if(b[i]>0) printf("%c=%d\n",(97+i),b[i]);
	}
	for(i=0;i<26;i++)
	{
		t+=b[i];
	}
	if(t==0) printf("No\n");
	scanf("%d",&i);
	return 0;
}
int main(){
	char zfc[300];
    scanf("%s",zfc);
    int count;
    count= strlen(zfc);
    int i=0,sum=0;
    for(int k = 97;k<123;k++){
		for (i=0;i<count;i++){
			if(zfc[i] == k){ 
			sum++;
			}
		}
		if(sum!=0){ 
			printf("%c=%d\n",k,sum);
			sum=0;
		}
	}
	for (i=0;i<count;i++){
		if(zfc[i]>96 && zfc[i]<123){
		sum=1;
		}
	}
	if(sum!=1){
		printf("No");
	}
	return 0;
}
int main(){
  int a[300];
  char ch;
  int i,j;
  j=0;
  memset(a,0,sizeof(a));
  while (scanf("%c",&ch)!=EOF) a[ch]++;
  for (i=65;i<=90;i++)
    if (a[i]) {printf("%c=%d\n",i,a[i]);j++;}
  for (i=97;i<=122;i++)
    if (a[i]) {printf("%c=%d\n",i,a[i]);j++;}
  if (!j) printf("No\n");
}