semeru/Code-Code-CloneDetection-POJ104 huggingface dataset:
int main()
{
	char a[400];
	gets(a);
	int l;
	int b[27]={0},c[27]={0};
	l=strlen(a);
	int i,n=0;
	for(i=0;i<l;i++)
	{
		if((a[i]>='A'&&a[i]<='Z')||(a[i]>='a'&&a[i]<='z'))
		{
			n=1;
			if(a[i]>='A'&&a[i]<='Z')
			{
				b[a[i]-64]++;
			}
			if(a[i]>='a'&&a[i]<='z')
			{
				c[a[i]-96]++;
			}
		}
	}
	if(n==0) printf("No");
	else
	{
		for(i=0;i<=26;i++)
		{
			if(b[i]!=0) printf("%c=%d\n",i+64,b[i]);
		}
		for(i=0;i<=26;i++)
		{
			if(c[i]!=0) printf("%c=%d\n",i+96,c[i]);
		}
	}
	return 0;
}
int main()
{
	char str[301],s[60]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",*ps,*pt;
	int count=0,t;
	scanf("%s",str);
	for(ps=s;*ps!='\0';ps++)
	{
		t=0;
		for(pt=str;*pt!='\0';pt++)
		{
			if(*pt==*ps)
			{
				t++;
			    count++;
			}
		}
		if(t>0)
			printf("%c=%d\n",*ps,t);
	}
	if(count==0)
		printf("No");

	return 0;
}
int main(){
	int i,time[52]={0},k=0;
	char zfc[300];
	gets(zfc);
	for(i=0;zfc[i]!='\0';i++)
	{
		if(zfc[i]<='Z'&&zfc[i]>='A')
		{
			k++;
			time[zfc[i]-'A']++;
		}
		if(zfc[i]<='z'&&zfc[i]>='a')
		{
			k++;
			time[zfc[i]-'a'+26]++;
		}
	}
	if(k==0)printf("No\n");
	else
	{
		for(i=0;i<26;i++)	
		{		
			if(time[i]>0)
			printf("%c=%d\n",'A'+i,time[i]);
		}
		for(i=26;i<52;i++)
		{
	    	if(time[i]>0)
			printf("%c=%d\n",'a'+i-26,time[i]);
		}
	}
	return 0;
}
int main()
{
	char a[301],*ps;
	int i,j,s=0;
	scanf("%s",a);
	for(i=65,j=0;i<91;i++)
	{
		for(ps=a;*ps!='\0';ps++)
		{
			if(*ps==i)
			{
				j++;
				s++;
				
			}
			
		}
		if(j!=0)
		{
			printf("%c=%d\n",i,j);
			j=0;
		}
		

	}
	for(i=97,j=0;i<123;i++)
	{
		for(ps=a;*ps!='\0';ps++)
		{
			if(*ps==i)
			{
				j++;
				s++;
			
			}
			
		}
		if(j!=0)
		{
			printf("%c=%d\n",i,j);
			j=0;
		}
	


	}
	if(s==0)
	{
		printf("No");
	}
	return 0;
}
void main()
{
	char a[100]={0},zm[256];
	int cs[256],i,n=0,m=0;
	for(i=0;i<256;i++)
	{
		zm[i]=i;
		cs[i]=0;
	}
	gets(a);
	i=0;
	while(a[i]!='\0')
	{
		cs[a[i]]++;
		n++;
		i++;
	}
	i=65;
    while(i<=122)
	{
		if(cs[i]!=0)
		{
			printf("%c=%d\n",zm[i],cs[i]);
			m++;
		}
		if(i==90)
			i+=7;
		else
		i++;
	}
	if(m==0)printf("No\n");
}
int main()
{
	int i,j,n,num[301],sum=0;
	char a[301];
	char letter[27]={'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'};
	scanf("%s",a);
	n=strlen(a);
	for(i=0;i<27;i++)
	{
		num[i]=0;
	}
	for(i=0;i<26;i++)
	{
		for(j=0;j<n;j++)
		{
			if(a[j]==letter[i])
			{
				num[i]++;
			}
		}
	}
    for(i=0;i<26;i++)
	{
		if(num[i]!=0)
		{
			printf("%c=%d\n",letter[i],num[i]);
			sum++;
		}
	}
	if(sum==0)
	{
		printf("No");
	}
	return 0;
}
int freq[26]; //????a,b,c,z??????????????????0

int main(){
char s[300]; //?????
int len;
int num=0;
char index,e;
int mark=0;

scanf("%s",s);
len=strlen(s);
for (int i=0;i<len;i++){
 	if((s[i]<='z') && (s[i]>='a')){  //???????a?z??
		index=s[i]-'a'; //???????????????a??0?,z??25??????
		freq[index]++;  //??????1
		}
}

for(num=0;num<26;num++){
	if(freq[num]>0){
		e=num+'a'; //???num?????
		printf("%c=%d\n",e,freq[num]);  //????????????
		mark=1;
	}
}
if (mark==0)
	printf("No");
return 0;
}
int main()
{
char m[350],n[350];
int i,t=0,j,k=1,h,a,b;
gets(m);
for(i=0;i<strlen(m);i++)
{if((int)m[i]<123&&(int)m[i]>96)
{n[t]=m[i];
t++;}}
for(a=t-1;a>0;a--)
{
for(b=0;b<a;b++)
if(n[b]>n[b+1])
{int temp;
temp=n[b];
n[b]=n[b+1];
n[b+1]=temp;
}
}

if(t!=0)
{for(i=0;i<t;i++)
{   for(j=i+1;j<t;j++)
{
     if(n[i]==n[j]&&n[i]!='0')
	 { k++;
	 n[j]='0';}
}
if(n[i]!='0')
{printf("%c=%d\n",n[i],k);}
k=1;
}}
else 
printf("No");
return 0;
}
int main(){
	char zfc[300];
	int sz[26];
	int i,m,k,t;
	char n;
	t=0;
	scanf("%s",zfc);
	m=strlen(zfc);
	for(k=0;k<26;k++){
		sz[k]=0;
	}
	for((n=97,k=0);(n<123&&k<26);(n++,k++)){
		for(i=0;i<m;i++){
			if(zfc[i]==n){
				sz[k]++;
			}
		}
		if(sz[k]>0){
			printf("%c=%d\n",n,sz[k]);
			t++;
		}
	}
	if(t==0){
		printf("No");
	}
	return 0;
}
void main()
{
	char c[301]={'\0'};
	int a[26]={0},i,j,k=0;
	scanf("%s",c);
	for(i=0;c[i]!='\0';i++)
	{
		for(j=0;j<26;j++)
		{
			if(c[i]==97+j) 
				a[j]=a[j]+1;
		}
	}
	for(j=0;j<26;j++)
	{
		if(a[j]==0) continue;
		printf("%c=%d\n",97+j,a[j]);
		k=k+1;
	}
	if(k==0) printf("No\n");
}
int main()
{
	

	int num[26]={0};
	char zfc[LEN];
	int len,i,flag;
	scanf("%s",zfc);
     len=strlen(zfc);
	for(i=0;i<len;i++){
		if(zfc[i]>='a'&&zfc[i]<='z'){
			num[zfc[i]-'a']++;
		}
	}
    flag=1;
	for(i=0;i<26;i++){
		if(num[i]!=0){
			printf("%c=%d\n",'a'+i,num[i]);
			flag=0;
		}
	}
	if(flag){
		printf("No");
	}
    
	return 0;

}
int main ()
{
	int i,k,l,c=0,ucount[26]={0},lcount[26]={0},cmp=65;
	char hao[301];
	scanf("%s",hao);
	l=strlen(hao);
	for(i=0;i<26;i++)
	{
		for(k=0;k<l;k++)
		{
			if(hao[k]==cmp+i)
			{
				ucount[i]+=1;
			}
		}
		if(ucount[i]!=0)
		{
		   printf("%c=%d\n",cmp+i,ucount[i]);
		}
	}
	for(i=32;i<58;i++)
	{
		for(k=0;k<l;k++)
		{
			if(hao[k]==cmp+i)
			{
				lcount[i-32]+=1;
			}
		}
		if(lcount[i-32]!=0)
		{
		  printf("%c=%d\n",cmp+i,lcount[i-32]);
		}
	}
	for(i=0;i<26;i++)
	{
		if(ucount[i]==0&&lcount[i]==0)
		{
			c+=1;
		}
	}
	if(c==26)
	{
		printf("No");
	}
	return 0;
}
int main()
{
	char b[300];
	int i,j,n=0,m=0;
	scanf("%s",&b);
	char a[53]={'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','\0'};
	for(i=0;i<52;i++)
	{
		for(j=0;b[j]!='\0';j++)
		{
			if(a[i]==b[j])
			{
				n=n+1;
			}
		}
		if(n!=0)
		{
			m=m+1;
			printf("%c=",a[i]);
			printf("%d",n);
			printf("\n");
			
		}
		n=0;
	}
	if(m==0)
	{
		printf("No");
	}
	return 0;
}
int main() 
{ 
int count[26]={0},t=0,j,k=0; 
char i,str[300],*ps,zf[26]; 
scanf("%s",str); 
for(ps=str;*ps!='\0';ps++) 
{ 
	if(*ps>='a'&&*ps<='z'){ 
		for(i='a';i<='z';i++){ 
			if(i==*ps){ 
				t=i-'a'; 
				zf[t]=i; 
				count[t]++; 
			} 
		} 
	} 
} 
for(j=0;j<26;j++){ 
	if(count[j]!=0){ 
		printf("%c=%d\n",zf[j],count[j]); 
		k+=1; 
	} 
} 
if(k==0) 
printf("No"); 
return 0; 
}
int main()
{
	int b[60]={0};
	char a[300];
	char *p=a;
	scanf("%s",a);
	for(;*p!='\0';p++)
	{
		if(*p=='A') b[0]++;
		if(*p=='B')b[1]++;
		if(*p=='C')b[2]++;
		if(*p=='D')b[3]++;
		if(*p=='E')b[4]++;
		if(*p=='F')b[5]++;
		if(*p=='G')b[6]++;
		if(*p=='H')b[7]++;
		if(*p=='I')b[8]++;
		if(*p=='J')b[9]++;
		if(*p=='K')b[10]++;
		if(*p=='L')b[11]++;
		if(*p=='M')b[12]++;
		if(*p=='N')b[13]++;
		if(*p=='O')b[14]++;
		if(*p=='P')b[15]++;
		if(*p=='Q')b[16]++;
		if(*p=='R')b[17]++;
		if(*p=='S')b[18]++;
		if(*p=='T')b[19]++;
		if(*p=='U')b[20]++;
		if(*p=='V')b[21]++;
		if(*p=='W')b[22]++;
		if(*p=='X')b[23]++;
		if(*p=='Y')b[24]++;
		if(*p=='Z')b[25]++;
		if(*p=='a')b[26]++;
		if(*p=='b')b[27]++;
		if(*p=='c')b[28]++;
		if(*p=='d')b[29]++;
		if(*p=='e')b[30]++;
		if(*p=='f')b[31]++;
		if(*p=='g')b[32]++;
		if(*p=='h')b[33]++;
	        if(*p=='i')b[34]++;
		if(*p=='j')b[35]++;
		if(*p=='k')b[36]++;
		if(*p=='l')b[37]++;
		if(*p=='m')b[38]++;
		if(*p=='n')b[39]++;
		if(*p=='o')b[40]++;
		if(*p=='p')b[41]++;
		if(*p=='q')b[42]++;
		if(*p=='r')b[43]++;
		if(*p=='s')b[44]++;
		if(*p=='t')b[45]++;
		if(*p=='u')b[46]++;
     	        if(*p=='v')b[47]++;
		if(*p=='w')b[48]++;
		if(*p=='x')b[49]++;
		if(*p=='y')b[50]++;
		if(*p=='z')b[51]++;
	}
	int i,n=0;
	char g[60]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",*s;
	s=g;
	for(i=0;i<52;i++,s++)
	{
		char v;
		v=*s;
		if(b[i]!=0)
		{
			printf("%c=%d\n",v,b[i]);
			n++;
		}

	}
	if(n==0)
        printf("No\n");
	return 0;
}
int main()
{
	char zfc[300];
	char stan;
	stan='a';
	scanf("%s",zfc);
	int k;
	k=strlen(zfc);
	int e=0;
	char out[300];
	int ab[300];
	int i;
	for(i=0;i<k;i++){
		if(zfc[i]=='a' || zfc[i]=='b' || zfc[i]=='c' || zfc[i]=='d' || zfc[i]=='e' || zfc[i]=='f' || zfc[i]=='g' || zfc[i]=='h' || zfc[i]=='i' || zfc[i]=='j' || zfc[i]=='k' || zfc[i]=='l' || zfc[i]=='m' || zfc[i]=='n' || zfc[i]=='o' || zfc[i]=='p' || zfc[i]=='q' || zfc[i]=='r' || zfc[i]=='s' || zfc[i]=='t' || zfc[i]=='u' || zfc[i]=='v' ||zfc[i]=='w' || zfc[i]=='x' || zfc[i]=='y' || zfc[i]=='z'){
			int a=0;
			int sum=1;
			for(int j=0;j<e;j++){
				if(zfc[i]==out[j]){
					a=1;
				}
			}
			if(a==0){
				out[e]=zfc[i];
				for(int t=i+1;t<k;t++){
					if(zfc[t]==zfc[i]){
						sum++;
					}
				}
				ab[e]=sum;
				e++;
			}
		}
	}
	if(e==0){
		printf("No");
	}
	char data;
	int x;
	for(i=0;i<e;i++){
		for(int j=i+1;j<e;j++){
			if(out[i]>out[j]){
				data=out[i];
				out[i]=out[j];
				out[j]=data;
				x=ab[i];
				ab[i]=ab[j];
				ab[j]=x;
			}
		}
	}
	for(i=0;i<e;i++){
		printf("%c=%d\n",out[i],ab[i]);
	}
	return 0;
}
int main()
{
	int i,j,n,m,k,l;
	char c,a[300],b[300];
	c=getchar();
	i=0;
	j=0;
	l=0;
	while(c!='\n')
	{
		if(c>='A'&&c<='Z')
		{
			a[i]=c;
			i++;
			l++;
		}
		if(c>='a'&&c<='z')
		{
			b[j]=c;
			j++;
			l++;
		}
		c=getchar();
	}
	m=i;
	n=j;
	for(i=65;i<=90;i++)
	{
		for(j=0,k=0;j<m;j++)
		{
			if(a[j]==i)
				k++;
		}
		if(k!=0)
			printf("%c=%d\n",i,k);
	}
		for(i=97;i<=122;i++)
	{
		for(j=0,k=0;j<n;j++)
		{
			if(b[j]==i)
				k++;
		}
		if(k!=0)
			printf("%c=%d\n",i,k);
	}
		if(l==0)
			printf("No\n");
	return 0;
}
void main()
{
	char a[300],b[52];
	unsigned int i,temp=0;
	scanf("%s",a);
	for (i=0;i<52;i++) b[i]=0;
	for (i=0;i<strlen(a);i++)
	{
		if (a[i]>=65&&a[i]<=90) b[a[i]-65]+=1;
		else if (a[i]>=97&&a[i]<=122) b[a[i]-71]+=1;
	}
	for (i=0;i<26;i++) if (b[i]) {printf("%c=%d\n",i+65,b[i]);temp=1;}
	for (i=26;i<52;i++) if (b[i]) {printf("%c=%d\n",i+71,b[i]);temp=1;}
	if (temp==0) printf("No");
}
int main()
{

int a[256],i;
int j=0;
char str[256];
for (i=0;i<256;i++) a[i]=0;
gets(str);

i=0;
while(str[i]) 
  a[str[i++]]++;
    for (i='A';i<='Z';i++)
   if (a[i])
   {
     printf("%c=%d\n",i,a[i]);
     j++;
   }
   for (i='a';i<='z';i++)
   if (a[i])
   { 
     printf("%c=%d\n",i,a[i]);
     j++;
    }
   if(j==0)
   printf("No");
return 0;
}
void main()
{
	int n,p,t[300],i,j,k;
	char c[300],a;
	gets(c);
    n=strlen(c);
	for(i=0,p=0;i<n,(a=c[i])!='\0';i++)
	{
		if(a>='a'&&a<='z')
		{
			for(j=0,t[i]=0;j<n;j++)
				if(c[j]==a)
				{
					t[i]++;
				}
		}
		else if(a>='A'&&a<='Z')
		{
			for(j=0,t[i]=0;j<n;j++)
			    if(c[j]==a)
				{
					t[i]++;
				}
		}
		else 
		{
			p++;
			t[i]=0;
		}
	}
	if(p<n)
	{
		for(i=0;i<n;i++)
		{
			for(j=i;j<n;j++)
			{
				if(c[i]>c[j])
				{
					a=c[i];
					k=t[i];
					c[i]=c[j];
					t[i]=t[j];
					c[j]=a;
					t[j]=k;
				}
			}
		}
		for(i=0;i<n;i++)
		{
			for(j=i+1;j<n;j++)
			{
				if(c[j]==c[i])
				{
					t[j]=0;
				}
			}
			if(t[i]!=0)
			{
				printf("%c=%d\n",c[i],t[i]);
			}
		}
	}
	else printf("No");
}
int main(){
	int i,s,k,f;
	int v=1;
	int j=0;
	char e='a';
	int cd;
	int o;
	int sum;
	char x[2];
	char zf[300];
	char z[300]="";
	gets(zf);
	o=strlen(zf);
	for(i=0;i<=o-1;i++)
	{
		if(  ((zf[i]>='a')&&(zf[i]<='z'))  ||  (   (zf[i]>='A')  &&  (zf[i]<='Z')  )   )
		{
			z[j]=zf[i];
			j++;
		}

		
		
	}
	if(j==0)
	{
		printf("No");
	}
	// printf("%s",z);
	cd=strlen(z);
	
	for(k=0;k<=cd-2;k++)
	{
		for(i=0;i<=cd-2-k;i++)
		{
			if(z[i]>z[i+1])
			{
				e=z[i];
				z[i]=z[i+1];
				
				z[i+1]=e;
			}
		}
		
	}
//	printf("%s",z);
	for(s=0;s<cd;s++)
	{
		if( ( (s==0)||(z[s]!=z[s-1]) )  && (z[s]!=z[s+1])  )
		{
			printf("%c=%d",z[s],v);
			printf("\n");
		}
		if( (  (s==0) || (z[s]!=z[s-1])  )    &&  (z[s]==z[s+1])  )
		{
			sum=0;
			for(f=s+1;f<cd;f++)
			{
				if(z[f]!=z[f+1])
				{
					break;
				}
				
				
			
			}
	         sum=f-s+1;
			printf("%c=%d",z[s],sum);
			printf("\n");
		}
	} 
	return 0;
}
main()
{
	int p[26]={0},i,n,k;
	char a [300];
	gets (a);
	n=strlen(a);
	for (i=0,k=0;i<n;i++)
	{
		if (islower(a[i]))
			k++;
	}
	if (k==0)printf("No");
	for (i=0;i<n;i++)
	{   
		if (islower(a[i]))
		{
			p[a[i]-'a']++;
		}
	}
	for (i=0;i<26;i++)
	{
		if(p[i]!=0)
		{
			printf("%c=%d\n",i+97,p[i]);
		}
	}
}
int main(int argc, char* argv[])
{
	int n,i,no=0;
	char zm[300],ch;
	scanf("%s",zm);
	n=strlen(zm);
    for(ch='A';ch<='Z';ch++){	int k=0;
		for(i=0;i<n;i++){
		
			if(zm[i]==ch){
		
			k++;
			}
		}
		if(k!=0){
		printf("%c=%d\n",ch,k);
		}
	}
	for(ch='a';ch<='z';ch++){	int k=0;
		for(i=0;i<n;i++){
		
			if(zm[i]==ch){
		
			k++;
			}
		}
		if(k!=0){
		printf("%c=%d\n",ch,k);
		no=1;
		}
	}
	if(no==0){printf("No");}
	return 0;
}
void main()
{   char c[300];
int b[30]={0},i,sum;
		gets(c);
		for(i=0;i<strlen(c);i++)
		{if(c[i]==97)
				b[0]++;
			
				
else if(c[i]==98)
				b[1]++;
else if(c[i]==99)
				b[2]++;
else if(c[i]==100)
				b[3]++;
else if(c[i]==101)
				b[4]++;
else if(c[i]==102)
				b[5]++;
else if(c[i]==103)
				b[6]++;
else if(c[i]==104)

			b[7]++;
else if(c[i]==105)
				b[8]++;
else if(c[i]==106)
				b[9]++;
else if(c[i]==107)
				b[10]++;

else if(c[i]==108)
				b[11]++;
else if(c[i]==109)
				b[12]++;
else if(c[i]==110)
				b[13]++;
else if(c[i]==111)
				b[14]++;
else if(c[i]==112)
				b[15]++;
else if(c[i]==113)
				b[16]++;
else if(c[i]==114)
				b[17]++;
else if(c[i]==115)
				b[18]++;
else if(c[i]==116)
				b[19]++;
else if(c[i]==117)
				b[20]++;
else if(c[i]==118)
				b[21]++;

else if(c[i]==119)
				b[22]++;
else if(c[i]==120)
				b[23]++;
else if(c[i]==121)
				b[24]++;
else if(c[i]==122)
				b[25]++;
		}
		sum=b[0]+b[1]+b[2]+b[3]+b[4]+b[5]+b[6]+b[7]+
		b[8]+b[9]+b[10]+b[11]+b[12]+b[13]+b[14]+b[15]+b[16]+b[17]+b[18]+b[19]+
		b[20]+b[21]+b[22]+b[23]+b[24]+b[25];
		if(sum==0)
			printf("No");
		
		for(i=0;i<=25;i++)
			if(b[i])
				printf("%c=%d\n",i+97,b[i]);
}
int main()
{
	int i,k,a,j,c=0,have[26];
	char fh[300],xin[26],haha;
	gets(fh);
	k=strlen(fh);
	for(i=0;i<k;i++)
	{
		if(fh[i]>='a'&&fh[i]<='z')
		{
			xin[c]=fh[i];
            c+=1;
		    a=1;
		    for(j=i+1;j<k;j++)
			{
			    if(fh[i]==fh[j])
				{
					a+=1;
					fh[j]='0';
				}
			}
			have[c-1]=a;
			
		}
	}
	if(c==0)
		printf("No\n");
	else
	{
        for(i=0;i<c;i++)
		{
			for(j=i+1;j<c;j++)
			{
				if(xin[j]<xin[i])
				{
					haha=xin[i];
					xin[i]=xin[j];
					xin[j]=haha;
					k=have[i];
					have[i]=have[j];
					have[j]=k;
				}
			}
			printf("%c=%d\n",xin[i],have[i]);
		}
	}

	return 0;


}
int main()
{
    int i=0;//?????????
    char a[26]={0},b[26]={0};//?????????????a[0]=x,??????a???
    //x??
    char temp=0;//????
    int   test=1;//???????????????
    for(i=0;i<300;i++)
    {
        temp=getchar();//??????.
        //??????????300??????????
        //??????????,????????????
        if('\n'==temp)break;
		if(temp>='A'&&temp<='Z')
        {temp=temp-'A';
        b[(int)temp]++;}
		if(temp>='a'&&temp<='z')
        {temp=temp-'a';
        a[(int)temp]++;}
    }
    for(i=0;i<26;i++)
    {
        //???????????????test=1,???0
        if(b[i])
        {
            printf("%c=%d\n",('A'+i),b[i]);
            test=0;
        }
	}
    for(i=0;i<26;i++) 
	{	if(a[i])
        {
            printf("%c=%d\n",('a'+i),a[i]);
            test=0;
        }
    }
    if(test)printf("No\n");
    return 0;
}
int main(int argc, char* argv[])
{
    char str[500];
	int k,i;
	char chr;
	int num,you=0;

	gets(str);

	for(k=97;k<123;k++){
		chr=k;
		num=0;

		for(i=0;i<strlen(str);i++){	
			if(str[i]==k){num++;you=1;}
		}
			if(num!=0){printf("%c=%d\n",chr,num);}	
	
    }
	if(you==0){printf("No");}
	return 0;
}
void main()
{
	char a[300];
	int b[52];
	int i,n,k,j;
	for (i=0;i<52;i++)
		b[i]=0;
	j=0;
	gets(a);
	n=strlen(a);
	for (i=0;i<n;i++)
	{
		if(a[i]>=65&&a[i]<=90)
		{
			k=a[i]-65;
			b[k]=b[k]+1;
		}
		if (a[i]>=97&&a[i]<=122)
		{
			k=a[i]-71;
			b[k]=b[k]+1;
		}
	}
	for (i=0;i<26;i++)
	{
		if (b[i])
		{
			printf("%c=%d\n",i+65,b[i]);
			j++;
		}
	}
	for (i=26;i<52;i++)
	{
		if (b[i])
		{
			printf("%c=%d\n",i+71,b[i]);
	        j++;
		}
	}
	if (j==0)
		printf("No");
}
void main()
{
	char s[100];
	int n[26],l,i,j,m=0;
	for(i=0;i<26;i++) n[i]=0;
	gets(s);
	l=strlen(s);
	for(i=0;i<l;i++)
	{
		if(s[i]>='a'&&s[i]<='z')
		{
			m++;
			j=s[i]-'a';
			n[j]++;
		}

	}
	if(m==0) printf("No");
	else 
	{
		for(i=0;i<26;i++) if(n[i]!=0) printf("%c=%d\n",i+'a',n[i]);
	}
}
int main()
{
	char p[300],j;
	int b,i,a=0;
	scanf("%s",&p);
	for(i=0;p[i]!='\0';i++){
		if((p[i]>='A'&&p[i]<='Z')||(p[i]>='a'&&p[i]<='z')){
			a++;
		}
	}
	if(a==0){
		printf("No");
	}
	else{
		for(j='A';j<='Z';j++)
		{
			b=0;
			for(i=0;p[i]!='\0';i++)
			{
				
				if(p[i]==j)
				{
					b++;
				}
			}
			
			if(b!=0)
			{
				printf("%c=%d\n",j,b);
			}
		}
        for(j='a';j<='z';j++)
		{
			b=0;
			for(i=0;p[i]!='\0';i++)
			{
				
				if(p[i]==j)
				{
					b++;
				}
			}
			
			if(b!=0)
			{
				printf("%c=%d\n",j,b);
			}
		}

	}
	return 0;
}
int main()
{
   char num[300];
   scanf("%s",&num);
   int len;
    len=strlen(num);
   int ii=1;
   int q=0;
   int w=0;
   int e=0;
   int r=0;
   int t=0;
   int y=0;
   int u=0;
   int i=0;
   int o=0;
   int p=0;
   int a=0;
   int s=0;
   int d=0;
   int f=0;
   int g=0;
   int h=0;
   int j=0;
   int k=0;
   int l=0;
   int z=0;
   int x=0;
   int c=0;
   int v=0;
   int b=0;
   int n=0;
   int m=0;
   int wo=0;
   for(ii=0;ii<len;ii++)
   {
	   if(num[ii]=='a'){a++;wo++;}
	   else if(num[ii]=='b'){b++;wo++;}
       else if(num[ii]=='c'){c++;wo++;}
else if(num[ii]=='d'){d++;wo++;}
else if(num[ii]=='e'){e++;wo++;}
else if(num[ii]=='f'){f++;wo++;}
else if(num[ii]=='g'){g++;wo++;}
else if(num[ii]=='h'){h++;wo++;}
else if(num[ii]=='i'){i++;wo++;}
else if(num[ii]=='j'){j++;wo++;}
else if(num[ii]=='k'){k++;wo++;}
else if(num[ii]=='l'){l++;wo++;}
else if(num[ii]=='m'){m++;wo++;}
else if(num[ii]=='n'){n++;wo++;}
else if(num[ii]=='o'){o++;wo++;}
else if(num[ii]=='p'){p++;wo++;}
else if(num[ii]=='q'){q++;wo++;}
else if(num[ii]=='r'){r++;wo++;}
else if(num[ii]=='s'){s++;wo++;}
else if(num[ii]=='t'){t++;wo++;}
else if(num[ii]=='u'){u++;wo++;}
else if(num[ii]=='v'){v++;wo++;}
else if(num[ii]=='w'){w++;wo++;}
else if(num[ii]=='x'){x++;wo++;}
else if(num[ii]=='y'){y++;wo++;}
else if(num[ii]=='z'){z++;wo++;}
   }
   if(wo==0)
   { printf("No");}
   else 
   {
	   if(a!=0){printf("a=%d",a);}
 if(b!=0){printf("\nb=%d",b);}
 if(c!=0){printf("\nc=%d",c);}
 if(d!=0){printf("\nd=%d",d);}
 if(e!=0){printf("\ne=%d",e);}
 if(f!=0){printf("\nf=%d",f);}
 if(g!=0){printf("\ng=%d",g);}
 if(h!=0){printf("\nh=%d",h);}
 if(i!=0){printf("\ni=%d",i);}
 if(j!=0){printf("\nj=%d",j);}
 if(k!=0){printf("\nk=%d",k);}
 if(l!=0){printf("\nl=%d",l);}
 if(m!=0){printf("\nm=%d",m);}
 if(n!=0){printf("\nn=%d",n);}
 if(o!=0){printf("\no=%d",o);}
 if(p!=0){printf("\np=%d",p);}
 if(q!=0){printf("\\nq=%d",q);}
 if(r!=0){printf("\nr=%d",r);}
 if(s!=0){printf("\ns=%d",s);}
 if(t!=0){printf("\nt=%d",t);}
 if(u!=0){printf("\nu=%d",u);}
 if(v!=0){printf("\nv=%d",v);}
 if(w!=0){printf("\nw=%d",w);}
 if(x!=0){printf("\nx=%d",x);}
 if(y!=0){printf("\ny=%d",y);}
 if(z!=0){printf("\nz=%d",z);}
   }
return 0;
}
void main()
{
	char a[300]={'\0'};
	int i,b[60]={0},c=0;
	gets(a);
    for(i=0;i<300;i++)
	{
		if(a[i]=='A')b[0]+=1;
		else if(a[i]=='B')b[1]+=1;
		else if(a[i]=='C')b[2]+=1;
		else if(a[i]=='D')b[3]+=1;
		else if(a[i]=='E')b[4]+=1;
		else if(a[i]=='F')b[5]+=1;
		else if(a[i]=='G')b[6]+=1;
		else if(a[i]=='H')b[7]+=1;
		else if(a[i]=='I')b[8]+=1;
		else if(a[i]=='J')b[9]+=1;
		else if(a[i]=='K')b[10]+=1;
		else if(a[i]=='L')b[11]+=1;
		else if(a[i]=='M')b[12]+=1;
		else if(a[i]=='N')b[13]+=1;
		else if(a[i]=='O')b[14]+=1;
		else if(a[i]=='P')b[15]+=1;
		else if(a[i]=='Q')b[16]+=1;
		else if(a[i]=='R')b[17]+=1;
        else if(a[i]=='S')b[18]+=1;
		else if(a[i]=='T')b[19]+=1;
		else if(a[i]=='U')b[20]+=1;
		else if(a[i]=='V')b[21]+=1;
		else if(a[i]=='W')b[22]+=1;
		else if(a[i]=='X')b[23]+=1;
		else if(a[i]=='Y')b[24]+=1;
		else if(a[i]=='Z')b[25]+=1;
		else if(a[i]=='a')b[26]+=1;
		else if(a[i]=='b')b[27]+=1;
		else if(a[i]=='c')b[28]+=1;
		else if(a[i]=='d')b[29]+=1;
		else if(a[i]=='e')b[30]+=1;
		else if(a[i]=='f')b[31]+=1;
		else if(a[i]=='g')b[32]+=1;
		else if(a[i]=='h')b[33]+=1;
		else if(a[i]=='i')b[34]+=1;
		else if(a[i]=='j')b[35]+=1;
		else if(a[i]=='k')b[36]+=1;
		else if(a[i]=='l')b[37]+=1;
		else if(a[i]=='m')b[38]+=1;
		else if(a[i]=='n')b[39]+=1;
		else if(a[i]=='o')b[40]+=1;
		else if(a[i]=='p')b[41]+=1;
		else if(a[i]=='q')b[42]+=1;
        else if(a[i]=='r')b[43]+=1;
		else if(a[i]=='s')b[44]+=1;
		else if(a[i]=='t')b[45]+=1;
		else if(a[i]=='u')b[46]+=1;
		else if(a[i]=='v')b[47]+=1;
		else if(a[i]=='w')b[48]+=1;
		else if(a[i]=='x')b[49]+=1;
		else if(a[i]=='y')b[50]+=1;
		else if(a[i]=='z')b[51]+=1;
	}
	for(i=0;i<26;i++)
		{
			if(b[i]!=0)
			{
				printf("%c=%d\n",i+65,b[i]);
		    	c=1;
			}
		}
		for(i=26;i<52;i++)
		{
			if(b[i]!=0)
			{
				printf("%c=%d\n",i+71,b[i]);
				c=1;
			}
		}
		if(c==0)printf("No");

}
void main()
{
	char a[300];
	int n,i,b[26];
	for(i=0;i<26;i++)
		b[i]=0;
	for(i=0;i<300&&(a[i]=getchar())!='\n';i++)
	{
		if(a[i]=='a')
			b[0]++;
		else if(a[i]=='b')
			b[1]++;
		else if(a[i]=='c')
			b[2]++;
		else if(a[i]=='d')
			b[3]++;
		else if(a[i]=='e')
			b[4]++;
		else if(a[i]=='f')
			b[5]++;
		else if(a[i]=='g')
			b[6]++;
		else if(a[i]=='h')
			b[7]++;
		else if(a[i]=='i')
			b[8]++;
		else if(a[i]=='j')
			b[9]++;
		else if(a[i]=='k')
			b[10]++;
		else if(a[i]=='l')
			b[11]++;
		else if(a[i]=='m')
			b[12]++;
		else if(a[i]=='n')
			b[13]++;
		else if(a[i]=='o')
			b[14]++;
		else if(a[i]=='p')
			b[15]++;
		else if(a[i]=='q')
			b[16]++;
		else if(a[i]=='r')
			b[17]++;
		else if(a[i]=='s')
			b[18]++;
		else if(a[i]=='t')
			b[19]++;
		else if(a[i]=='u')
			b[20]++;
		else if(a[i]=='v')
			b[21]++;
		else if(a[i]=='w')
			b[22]++;
		else if(a[i]=='x')
			b[23]++;
		else if(a[i]=='y')
			b[24]++;
		else if(a[i]=='z')
			b[25]++;
	}
	for(i=0;i<26;i++)
	{
		if(b[i]!=0)
			break;
		else
		{
			printf("No");
			break;
		}

	}
	for(i=0;i<26;i++)
	{
		if(b[i]!=0)
			printf("%c=%d\n",i+97,b[i]);
	}
}
main()
{
      char a[301]={0};
      int i;
      for(i=1;i<=300;i++)
      {
                         scanf("%c",&a[i]);
                         if(a[i]=='\n') break;
      }
      int j;  int k;
      int s[256]={0};
      for(j='A';j<='Z';j++)
      {
                           for(k=1;k<=i;k++)
                           {
                                            if(a[k]==j) s[j]=s[j]+1;
                           }
                           if(s[j]>=1) printf("%c=%d\n",j,s[j]) ;
      }
      for(j='a';j<='z';j++)
      {
                           for(k=1;k<=i;k++)
                           {
                                            if(a[k]==j) s[j]=s[j]+1;
                           }
                           if(s[j]>=1) printf("%c=%d\n",j,s[j]) ;
      }
      int w,u;
      w=0;
      for(u=0;u<=255;u++)
      {
                         w=w+s[u];
      }
      if(w==0)  printf("No"); /*w??No???*/
                          
  



}
int main()
{
 char zu[53]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
 char su[300];
 int k,i,x[52]={0},y=0;
 scanf("%s",su);
 for(i=0;i<52;i++)
 {
 for(k=0;k<strlen(su);k++)
 if(su[k]==zu[i])
 x[i]++;
 if(x[i]!=0)
{ printf("%c=%d\n",zu[i],x[i]);y++;}
}if(y==0)
printf("No");
    return 0;}
void main ()
{
int a[26],i,t=0;
char c;
for (i=0;i<=25;i++)
  a[i]=0;
while ((c=getchar())!='\n')
{
for (i=0;i<=25;i++)
 {
  if (c==('a'+i))
    {
     a[i]++;
     break;
     }
  }
}
for (i=0;i<=25;i++)
 {
  if (a[i]!=0)
    t++;
  }
if (t==0)
  printf ("No\n");
else 
  for (i=0;i<=25;i++)
   {
    if (a[i]!=0)
      printf ("%c=%d\n",'a'+i,a[i]);
   }        
}
int main() {
	char data[301];
	int big[26]={0};
	int sma[26]={0};
	int sign=0, i;
	scanf("%s" ,data);
	for(i=0;data[i]!='\0';i++) {
		if(data[i]<='Z'&&data[i]>='A') {
			big[data[i]-'A']+=1;
		}
		if(data[i]<='z'&&data[i]>='a') {
			sma[data[i]-'a']+=1;
		}
	}

	for(i=0;i<26;i++) {
		if(big[i]!=0) {
			sign+=1;
		}
		if(sma[i]!=0) {
			sign+=1;
		}
	}
	if(sign==0) {
		printf("No");
	} else {
		for(i=0;i<26;i++) {
			if(big[i]!=0) {
				printf("%c=%d\n", 'A'+i, big[i]);
			}
		}
		for(i=0;i<26;i++) {
			if(sma[i]!=0) {
				printf("%c=%d\n", 'a'+i, sma[i]);
			}
		}
	}
	return 0;
}