semeru/Code-Code-CloneDetection-POJ104 huggingface dataset:
int main()
{
	int a,y,i;
	float m,n,p,q;
	scanf("%d",&y);
	m=0;
	n=0;
	p=0;
	q=0;
	for(i=0;i<y;i++){
		scanf("%d",&a);
		if(a<=18){
			m++;
		}
		else if(a<=35&&a>18){
			n++;
		}
		else if(a>35&&a<=60){
			p++;
		}
		else if(a>60){
			q++;
		}
	}
	printf("1-18: %.2f%%\n19-35: %.2f%%\n36-60: %.2f%%\n60??: %.2f%%\n",m*100/y,n*100/y,p*100/y,q*100/y);
	return 0;
}
int main(int argc, char* argv[])
{
	int n,i,x,a=0,b=0,c=0,d=0;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&x);
		if(x<=18){
			a++;
		}
		else if(x>=19&&x<=35){
			b++;
		}
		else if(x>=36&&x<=60){
			c++;
		}
		else if(x>=61){
			d++;
		}
	}
	printf("1-18: %.2lf%%\n",(double)100*a/n);
    printf("19-35: %.2lf%%\n",(double)100*b/n);
    printf("36-60: %.2lf%%\n",(double)100*c/n);
    printf("60??: %.2lf%%\n",(double)100*d/n);
    return 0;

}
int main ()
{
    int n,a[1000],c[5]={0};                            //?? 
    double b[5]={0}; 
    cin >>n;                                          //?? 
    for (int i=1;i<=n;i++)
    cin >>a[i];
    for (int i=1;i<=n;i++)                             //?? 
    {
        if (a[i]<=18)
        c[1]++;
        else
        {
            if (a[i]<=35)
            c[2]++;
            else
            {
                if (a[i]<=60)
                c[3]++;
                else
                c[4]++;
            }
        }
    }
    for (int i=1;i<=4;i++)                               //?? 
    b[i]=100*(double)c[i]/n;
    cout <<fixed<<setprecision(2)<<"1-18: "<<b[1]<<"%"<<endl; //?? 
    cout <<fixed<<setprecision(2)<<"19-35: "<<b[2]<<"%"<<endl;
    cout <<fixed<<setprecision(2)<<"36-60: "<<b[3]<<"%"<<endl;
    cout <<fixed<<setprecision(2)<<"60??: "<<b[4]<<"%"<<endl;
    return 0;
}
int main()
{
	int n,a[100],i,k,b[4]={0};
	double c[4];
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]<=18)
			b[0]++;
	    if(a[i]>18&&a[i]<36)
			b[1]++;
		if(a[i]>=36&&a[i]<=60)
			b[2]++;
		if(a[i]>60)
			b[3]++;
	}
	for(k=0;k<4;k++)
	{
		c[k]=b[k]*100.0/n;
	}
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%",c[0],c[1],c[2],c[3]);
	return 0;
}
int main(int argc, char* argv[])
{
	int n;
	int age[100];
    int a=0, b=0, c=0, d=0;
	double x, y, z, w;
	int i;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&age[i]);
		if(age[i]<19){
			a += 1;
		}else if(18<age[i]&&age[i]<36){
			b += 1;
		}else if(35<age[i]&&age[i]<61){
			c += 1;
		}else if(60<age[i]){
			d += 1;
		}
	}
    x=(double)a/n*100;
	y=(double)b/n*100;
	z=(double)c/n*100;
	w=(double)d/n*100;
    printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",x,y,z,w);
	return 0;
	
}
int main()
{
	int n;
	scanf("%d",&n);
    int a[100];
	int one=0,two=0,three=0,four=0;
	double o,t,e,f;
	int zong;
	int i;
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		if(a[i]<=18)
		{
			one=one+1;
		}
		else if(a[i]>18&&a[i]<36)
		{
			two=two+1;
		}
		else if(a[i]>=36&&a[i]<=60)
		{
			three=three+1;
		}
		else if(a[i]>=61)
        {
			four=four+1;
		}
	}
	zong=one+two+three+four;
    o=100.0*one/zong;
	t=100.0*two/zong;
	e=100.0*three/zong;
    f=100.0*four/zong;
    printf("1-18: %.2lf%%\n",o);
    printf("19-35: %.2lf%%\n",t);
	printf("36-60: %.2lf%%\n",e);
	printf("60??: %.2lf%%\n",f);
	return 0;
}
int main(){
int n,i;
double e=0,b=0,c=0,d=0;
int a[100];
scanf("%d",&n);
for(i=0;i<n;i++){
    scanf("%d",&(a[i]));
}
for(i=0;i<n;i++){
if(a[i]<=18)
  e++;
else if(a[i]<=35)
  b++;
else if(a[i]<=60)
  c++;
else 
  d++;
}
printf("1-18: %.2f%%\n",e*100/n);
printf("19-35: %.2f%%\n",b*100/n);
printf("36-60: %.2f%%\n",c*100/n);
printf("60??: %.2f%%\n",d*100/n);
return 0;
}
int main()
{
    int n,f;
    scanf("%d",&n);
    int a=0,b=0,c=0,d=0;           
    for(int i=0;i<n;i++){
        scanf("%d",&f);
        if(f<=18)a++;
        else if(f>=19&&f<=35)b++;
        else if(f>=36&&f<=60)c++;
        else   d++;}                          
   double A,B,C,D;                               
   A=100.00*a/n;B=100.00*b/n;C=100.00*c/n;D=100.00*d/n;
   printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%\n",A,B,C,D); 
   return 0;
}
int main(){
    int sz[100];
	int n,i,s1,s2,s3,s4;
	s1=s2=s3=s4=0;
	scanf("%d",&n);
		for(i=0;i<n;i++){
			scanf("%d",&sz[i]);
		}
		for(i=0;i<n;i++){
			if(sz[i]<=18){
				s1++;
			}else if(sz[i]>18&&sz[i]<=35){
				s2++;
			}else if(sz[i]>=36&&sz[i]<=60){
				s3++;
			}else{
				s4++;
			}
		}
		printf("1-18: %.2lf%%\n",100*(double)s1/n);
		printf("19-35: %.2lf%%\n",100*(double)s2/n);
		printf("36-60: %.2lf%%\n",100*(double)s3/n);
		printf("60??: %.2lf%%\n",100*(double)s4/n);
    return 0;
}
int main()
{
	int i,n,a[100];
	int count1=0,count2=0,count3=0,count4=0,sum;
	double rate1,rate2,rate3,rate4;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
    for(i=0;i<n;i++)
	{ 
		if(a[i]<=18)
		{
			count1++;
		}
		
    	if(a[i]>18&&a[i]<=35)
		{
			count2++;
		}
		if(a[i]>35&&a[i]<=60)
		{
			count3++;	}  
		if(a[i]>60)
		{
			count4++;
	
		}
      
	
	}
 sum=count1+count2+count3+count4;
    rate1=(double)count1/sum*100;
	rate2=(double)count2/sum*100;
    rate3=(double)count3/sum*100;
    rate4=(double)count4/sum*100;
	printf ("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%",rate1,rate2,rate3,rate4);
	return 0;

}
int main()
{
	int n,a=0,b=0,c=0,d=0;
	double A,B,C,D;
	int z[100];
	scanf("%d",&n);
	for(int i=0;i<n;i++)
	{
		scanf("%d",&z[i]);
		if(z[i]<=18)
			a++;
		else if(z[i]>=19&&z[i]<=35)
			b++;
		else if(z[i]>=36&&z[i]<=60)
			c++;
		else
			d++;
	}
	A=(double)a/(double)n*100.00;
	B=(double)b/(double)n*100.00;
	C=(double)c/(double)n*100.00;
	D=(double)d/(double)n*100.00;
	printf("1-18: %.2lf%%\n",A);
	printf("19-35: %.2lf%%\n",B);
	printf("36-60: %.2lf%%\n",C);
	printf("60??: %.2lf%%\n",D);
	return 0;
}
void main()
{
	int n,i;
	double a=0,b=0,c=0,d=0;
	scanf("%d",&n);
	int x[100];
	for(i=0;i<=n-1;i++)
	{
		scanf("%d",&x[i]);
		if(x[i]<=18)
			a=a+1;
		else
		if(x[i]<=35)
			b=b+1;
		else
		if(x[i]<=60)
			c=c+1;
		else
		if(x[i]>=61)
			d=d+1;
	}
	a=a*100/n;
	b=b*100/n;
	c=c*100/n;
	d=d*100/n;
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",a,b,c,d);
}
int main(){
    int i,n,a,b,c,d;
    double A,B,C,D;
    int sz[100];
    scanf("%d",&n);
    for(i=0;i<n;i++){
     scanf("%d",&(sz[i]));   
    }
    a=0;b=0;c=0;d=0;
    for(i=0;i<n;i++){
        if(sz[i]<=18){
            a++;
        }else if(sz[i]<=35&&sz[i]>18){
            b++;
        }else if(sz[i]<=60&&sz[i]>35){
            c++;
        }else if(sz[i]>60){
            d++;
        }
    }
    A=(double)(a*1.0/n*100);
    B=(double)(b*1.0/n*100);
    C=(double)(c*1.0/n*100);
    D=(double)(d*1.0/n*100);
    printf("1-18: %.2lf%%\n",A);
    printf("19-35: %.2lf%%\n",B);
    printf("36-60: %.2lf%%\n",C);
    printf("Over60: %.2lf%%\n",D);
    return 0;
}
int main()
{
	int n,i,o=0,p=0,k=0,q=0,a[100];
	char m='%';
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		if(a[i]<19)
			o++;
		else if(a[i]>18&&a[i]<36)
			p++;
		else if(a[i]>35&&a[i]<61)
			k++;
		else q++;
	}
	printf("1-18: %.2lf%c\n",100*o*1.0/n,m);
	printf("19-35: %.2lf%c\n",100*p*1.0/n,m);
	printf("36-60: %.2lf%c\n",100*k*1.0/n,m);
	printf("60??: %.2lf%c\n",100*q*1.0/n,m);
	return 0;
}
int main(){
	int n,count1=0,count2=0,count3=0,count4=0,age,i;
	double p1,p2,p3,p4;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&age);
		if(age<=18)count1++;
		if(age>18&&age<36)count2++;
		if(age>35&&age<=60)count3++;
		if(age>60)count4++;
	
	}
	p1=1.0*100*count1/n;
	p2=1.0*100*count2/n;
	p3=1.0*100*count3/n;
	p4=1.0*100*count4/n;

	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%",p1,p2,p3,p4);
	
	return 0;
}
/*
*???  9_cpp
*??    ???
*??    2012?9?29?
*???  ????? 
*/
int main()
{
    // ???????i????????
    unsigned int a[101], i, age1=0, age2=0, age3=0, age4=0;    
    double p1, p2, p3, p4, n;            // ????????????????                          
    cin >> n; 
    for(i= 1; i <= n; i++)                  
    {        
         cin >> a[i];                     // ???????? 
         if(a[i] >= 1 && a[i] <= 18)      // ????????????????????? 
         {
             age1++; 
         }
         else if(a[i] > 18 && a[i] <= 35) // ????????????????????? 
         {
             age2++;
         }
         else if(a[i] > 35 && a[i] <= 60) // ????????????????????? 
         {
             age3++;
         }
         else                             // ????????????????????? 
         {
             age4++;
         }
    }          
    p1 = age1 / n;                        // ??????????????? 
    p2 = age2 / n;
    p3 = age3 / n;
    p4 = age4 / n;
    printf("1-18: %.2f%%\n", p1 * 100);   // ?????????????? 
    printf("19-35: %.2f%%\n", p2 * 100); 
    printf("36-60: %.2f%%\n", p3 * 100); 
    printf("60??: %.2f%%\n", p4 * 100);
    return 0;
}
int main()
{
	int n,a[100],b=0,c=0,d=0,e=0,i;
	double o,p,q,s;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]>0&&a[i]<19)
		{
			b=b+1;
		}
		else if(a[i]>18&&a[i]<36)
		{
			c=c+1;
		}
		else if(a[i]>35&&a[i]<61)
		{
			d=d+1;
		}
		else
		{
			e=e+1;
		}
	}
	o=(double)b/n*100;
	p=(double)c/n*100;
	q=(double)d/n*100;
	s=(double)e/n*100;
    printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%",o,p,q,s);
	return 0;
}
int main()
{
	int n,i,s[4]={0},year[100];
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&year[i]);
		if(year[i]<=18)
			s[0]++;
		else if(year[i]>18&&year[i]<=35)
			s[1]++;
		else if(year[i]>35&&year[i]<=60)
			s[2]++;
		else if(year[i]>60)
			s[3]++;
	}
	double bfs[4];
	bfs[0]=(double)s[0]/n;
	bfs[1]=(double)s[1]/n;
	bfs[2]=(double)s[2]/n;
	bfs[3]=(double)s[3]/n;
	printf("1-18: %.2lf%%\n",bfs[0]*100);
	printf("19-35: %.2lf%%\n",bfs[1]*100);
	printf("36-60: %.2lf%%\n",bfs[2]*100);
	printf("60??: %.2lf%%\n",bfs[3]*100);
	return 0;
}
int main(){
    int n,i,br[101];
    double a=0,b=0,c=0,d=0;
    scanf("%d",&n);
    for(i=0;i<n;i++){
       scanf("%d",&br[i]);
       if(br[i]<19){
          a+=1;
       }
       else if(br[i]<36){
          b+=1;
       }
       else if(br[i]<61){
          c+=1;
       }
       else {
          d+=1;
	   }
    }
    a=a/n;
    b=b/n;
    c=c/n;
    d=d/n;
    printf("1-18: %.2lf%%\n",a*100);
    printf("19-35: %.2lf%%\n",b*100);
    printf("36-60: %.2lf%%\n",c*100);
    printf("60??: %.2lf%%\n",d*100);
    return 0;
}
int main()
{
	int n,age_1=0,age_2=0,age_3=0,age_4=0,age[100],i;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&age[i]);
	}
	for(i=0;i<n;i++)
	{
		if(age[i]<=18)
		{
			age_1++;
		}
		else if(age[i]<=35&&age[i]>=19)
		{
			age_2++;
		}
		else if(age[i]<=60&&age[i]>=36)
		{
			age_3++;
		}
		else if(age[i]>=61)
		{
			age_4++;
		}
	}
	double bilv_1=(double)age_1/n;
	double bilv_2=(double)age_2/n;
	double bilv_3=(double)age_3/n;
	double bilv_4=(double)age_4/n;
	printf("1-18: %.2lf%%\n",bilv_1*100);
	printf("19-35: %.2lf%%\n",bilv_2*100);
	printf("36-60: %.2lf%%\n",bilv_3*100);
	printf("60??: %.2lf%%",bilv_4*100);
	return 0;
}
int main()
{
 int n,k,a=0,b=0,c=0,d=0;
  scanf("%d",&n);
 for(int i=1;i<=n;i++)
{ scanf("%d",&k);
 if(k<=18){
 a  =a +1;}
 else if(k<=35){
 b  =b+ 1;}
 else if(k<=60){
 c  =c +1;}
 else {
 d  =d + 1;}
}
 a=a*100;b=b*100;
c=c*100;d=d*100;
 printf("1-18: %.2lf%\n",a*1.0/n);
 printf("19-35: %.2lf%\n",b*1.0/n);
  printf("36-60: %.2lf%\n",c*1.0/n);
 printf("60??: %.2lf%\n",d*1.0/n);
return 0;
}
int main(int argc, char* argv[])
{
	int n,a[100],i;
	double num1=0,num2=0,num3=0,num4=0,s,r1,r2,r3,r4;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]>=1&&a[i]<=18)
		{
			num1++;
		}
		if(a[i]>=19&&a[i]<=35)
		{
			num2++;
		}
		if(a[i]>=36&&a[i]<=60)
		{
			num3++;
		}
		if(a[i]>60)
		{
			num4++;
		}
	}
	s=num1+num2+num3+num4;
	r1=num1*100/s;
	r2=num2*100/s;
	r3=num3*100/s;
	r4=num4*100/s;
	printf("1-18: %.2lf%%\n",r1);
	printf("19-35: %.2lf%%\n",r2);
	printf("36-60: %.2lf%%\n",r3);
	printf("60??: %.2lf%%",r4);






	return 0;
}
int main()
{
	int n,age,a=0,b=0,c=0,d=0;
	scanf("%d",&n);
	int i;
	double q,w,e,r;
	for(i=0;i<n;i++)
	{
		scanf("%d",&age);
		if(age<=18&&age>=1)
		{a++;}
		else if(age>=19&&age<=35)
		{b++;}
		else if(age>=36&&age<=60)
		{c++;}
		else
		{d++;}
	}
	printf("1-18: %.2lf%%\n",100.0*a/n);
	printf("19-35: %.2lf%%\n",100.0*b/n);
	printf("36-60: %.2lf%%\n",100.0*c/n);
	printf("60??: %.2lf%%\n",100.0*d/n);

	return 0;
}
int main()
{
	int a[100];
	double b[4]={0};
	int i,n;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		if(a[i]>=1&&a[i]<=18)
		{
			b[0]++;
		}
		else if(a[i]>=19&&a[i]<=35)
		{
			b[1]++;
		}
		else if(a[i]>=36&&a[i]<=60)
	{
			b[2]++;
		}
	else if(a[i]>60)
	{
			b[3]++;
		}
	}
	printf("1-18: %.2lf%%\n",b[0]*100/n);
	printf("19-35: %.2lf%%\n",b[1]*100/n);
    printf("36-60: %.2lf%%\n",b[2]*100/n);
    printf("60??: %.2lf%%\n",b[3]*100/n);
	return 0;
}
int main()
{
    int i,n,a=0,b=0,c=0,d=0;
    double e,f,g,h;
    int sz[10000];
    int num[10000];
    scanf("%d",&n);
    for(i=0;i<n;i++){
        scanf("%d",&sz[i]);
        if(sz[i]<19){
            a++;
            }else if(sz[i]<36){
            b++;
            }else if(sz[i]<61){
            c++;
            }else{
            d++;
        }
    }
    e=1.0*a/n*100;
    f=1.0*b/n*100;
    g=1.0*c/n*100;
    h=1.0*d/n*100;
    printf("1-18: ");
    printf("%.2lf",e);
    printf("%%\n");
    printf("19-35: ");
    printf("%.2lf",f);
    printf("%%\n");
    printf("36-60: ");
    printf("%.2lf",g);
    printf("%%\n");
    printf("Over60: ");
    printf("%.2lf",h);
    printf("%%\n");
    return 0;
}
int main(){
	int n,i,a[100];
	float s,e,p,q,x=0,y=0,z=0,c=0;
	scanf("%d\n",&n);
	for(i=0;i<n;i++){
		scanf("%d",&a[i]);
		if(a[i]<19){
			x=x+1;
		}
		else if(a[i]<36){
			y=y+1;}
		else if(a[i]<61){
			z=z+1;}
		else c=c+1;
	}
	s=x/n*100;
	e=y/n*100;
	p=z/n*100;
	q=c/n*100;
	printf("1-18: %.2f%%\n",s);
	printf("19-35: %.2f%%\n",e);
	printf("36-60: %.2f%%\n",p);
	printf("60??: %.2f%%\n",q);
	return 0;
}
int main()
{
	int n,i,a[100]={0},b[4]={0};
	double c[4];
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		if(a[i]<=18)
			b[0]=b[0]+1;
		else if(a[i]>=19&&a[i]<=35)
			b[1]=b[1]+1;
		else if(a[i]>=36&&a[i]<=60)
			b[2]=b[2]+1;
		else if(a[i]>60)
			b[3]=b[3]+1;
	}
	c[0]=(double)b[0]/n*100;
	c[1]=(double)b[1]/n*100;
	c[2]=(double)b[2]/n*100;
	c[3]=(double)b[3]/n*100;
	printf("1-18: %.2f%%\n",c[0]);
	printf("19-35: %.2f%%\n",c[1]);
	printf("36-60: %.2f%%\n",c[2]);
	printf("60??: %.2f%%\n",c[3]);
}
int main()
{
	int a[100],n,m,e,b,c,d;
	double p,q,k,i;
	scanf("%d",&n);
	e=0;
	b=0;
	c=0;
	d=0;
	p=0;
	q=0;
	k=0;
	i=0;
	for(m=1;m<=n;m++)
	{
		scanf("%d",&a[m]);
		{
			if(1<=a[m]&&a[m]<=18)
				e++;
		}
					p=100*(double)e/n;
		
		{
			if(19<=a[m]&&a[m]<=35)
				b++;
		}
					q=100*(double)b/n;
		
		{
			if(36<=a[m]&&a[m]<=60)
				c++;
		}
					k=100*(double)c/n;
		
		{
			if(61<=a[m])
				d++;
		}
					i=100*(double)d/n;
	}
	printf("1-18: %.2f%%\n",p);
	printf("19-35: %.2f%%\n",q);
	printf("36-60: %.2f%%\n",k);
	printf("60??: %.2f%%\n",i);
}
int main(){
    int n;
    scanf("%d\n",&n);
    float sz[100];
    float s[4];
    s[0]=0;
    s[1]=0;
    s[2]=0;
    s[3]=0;
    for(int t=0;t<n;t++){
       scanf("%f",&sz[t]);
       if(sz[t]<=18){
       s[0]+=1;
       }
       else if(sz[t]>18 && sz[t]<=35){
       s[1]+=1;
       }
       else if(sz[t]>35 && sz[t]<=60){
       s[2]+=1;
       }
       else{
       s[3]+=1;
       }
    }
    s[0]=s[0]*100.00/n;
    s[1]=s[1]*100.00/n;
    s[2]=s[2]*100.00/n;
    s[3]=s[3]*100.00/n; 
    printf("1-18: %.2lf%%\n",s[0]);
    printf("19-35: %.2lf%%\n",s[1]);
    printf("36-60: %.2lf%%\n",s[2]);
    printf("60??: %.2lf%%\n",s[3]);
    return 0; 
}
int main()
{
    int n,y[q],a[p],i,j,s;
    double b[p];
    scanf("%d",&n);
    for(i=0;i<n;i++){scanf("%d",&y[i]);}
    for(i=0;i<p;i++){a[i]=0;}
    for(i=0;i<n;i++){if(y[i]<=18) a[0]=a[0]+1;}
    for(i=0;i<n;i++){if(y[i]>18&&y[i]<36) a[1]=a[1]+1;}
    for(i=0;i<n;i++){if(y[i]<=60&&y[i]>35) a[2]=a[2]+1;}
    for(i=0;i<n;i++){if(y[i]>60) a[3]=a[3]+1;}
    for(i=0;i<p;i++){b[i]=1.0*a[i]/n;}
    for(i=0;i<p;i++){b[i]=100*b[i];}
    
    
    printf("1-18: ");printf("%.2lf%%\n",b[0]);
    printf("19-35: %.2lf%%\n",b[1]);
    printf("36-60: %.2lf%%\n",b[2]);
    printf("Over60: ");printf("%.2lf%%",b[3]);
    return 0;
}
int main()
{
	int n;
	int i;
	int nl[99];
	int n18=0;
	int n35=0;
	int n60=0;
	int n61=0;
	scanf("%d",&n);
	for(i=1;i<=n;i++)
	{
		scanf("%d",&nl[i]);
		if(nl[i]<=18)
		{
			n18++;
			continue;
		}
		if(nl[i]<=35)
		{
			n35++;
			continue;
		}
		if(nl[i]<=60)
		{
			n60++;
			continue;
		}
		if(nl[i]>=61)
		{
			n61++;
			continue;
		}
	}
	double a=100.0*n18/n;
	double b=100.0*n35/n;
	double c=100.0*n60/n;
	double d=100.0*n61/n;
	printf("1-18: %.2lf%%\n",a);
	printf("19-35: %.2lf%%\n",b);
	printf("36-60: %.2lf%%\n",c);
	printf("60??: %.2lf%%\n",d);
	return 0;
}
int main() {
	int n;
	cin >> n;
	int patient[100];  /* to store the age of each patient */
	int age[4] = {0, 0, 0, 0}; /* to count the number of people in each group */
	for(int i = 0; i < n; i++) {
		cin >> patient[i];
		if(patient[i] <= 18) age[0]++;
		if(patient[i] >= 19 && patient[i] <=35) age[1]++;
		if(patient[i] >= 36 && patient[i] <= 60) age[2]++;
		if(patient[i] >60) age[3]++;
	}
	double percent[4]; /* to calculate the percentage of each group */
	for(int i = 0; i < 4; i++) {
		percent[i] = (double)(age[i]) / n * 100;
	}
	cout << "1-18: ";
	printf("%.2lf",percent[0]);
	cout << '%' << endl;
	cout << "19-35: ";
	printf("%.2lf",percent[1]);
	cout << '%' << endl;
	cout << "36-60: ";
	printf("%.2lf",percent[2]);
	cout << '%' << endl;
	cout << "60??: ";
	printf("%.2lf",percent[3]);
	cout << '%' << endl;

	return 0;
}
void main()
{
	int f(int array[],int l);
	int i,m,n,t,b[26]={0};
	char str[300];
	gets(str);
	t=strlen(str);
	for(i=0;i<t;i++)
	{
		m=0;
		m=str[i]-97;
		b[m]++;
	}
	n=f(b,t);
	if(n==0)
		printf("No");
	for(i=0;i<26;i++)
	{
		if(b[i]!=0)
			printf("%c=%d\n",i+97,b[i]);
	}
}

int  f(int array[],int l)
{
	int i,word=0;
	for(i=0;i<l;i++)
	{
		if(array[i]!=0)
			word++;
	}
	return(word);
}
int main()
{
	int s[55]={0},i,l,t;
	char str[300];
	gets(str);
	l=strlen(str);
	for(i=0;i<=l-1;i++)
	{
		if(str[i]>='a'&&str[i]<='z')
			s[(int)(str[i])-68]++;
		if(str[i]>='A'&&str[i]<='Z')
			s[(int)(str[i])-64]++;
	}
	t=0;
	for(i=1;i<=27;i++)
	{
		if(s[i]!=0)
		{
			printf("%c=%d\n",64+i,s[i]);
			t=1;
		}
	}
	for(i=28;i<=54;i++)
	{
		if(s[i]!=0)
		{
			printf("%c=%d\n",68+i,s[i]);
			t=1;
		}
	}
	if(t==0)
		printf("No");
	return 0;	
}
int main()
{
	char s[301],t;
	int i,j,n=0,b=0,num;

	gets(s);
	num=strlen(s);
	
	for(i=0;i<num;i++)
	{
		if((s[i]>='A'&&s[i]<='Z')||(s[i]>='a'&&s[i]<='z'))
			b=b+1;
	}
	if(b==0)
		printf("No");
	else
	{
		for(t='A';t<='Z';t++)
		{
			n=0;
			for(i=0;i<num;i++)
			{
				if(s[i]==t)
					n=n+1;
			}
			if(n!=0)
			printf("%c=%d\n",t,n);
		}

		for(t='a';t<='z';t++)
		{
			n=0;
			for(i=0;i<num;i++)
			{
				if(s[i]==t)
					n=n+1;
			}
			if(n!=0)
			printf("%c=%d\n",t,n);
		}
	}

	return 0;
}
void main()
{
	char s[300],a[300];
	gets(s);
	int i,count=0;
for(i=0;s[i]!='\0';i++)a[i]=0;
	for(i=0;s[i]!='\0';i++)
	{
		if(s[i]==97){a[1]++;count++;}
if(s[i]==98){a[2]++;count++;}
if(s[i]==99){a[3]++;count++;}
if(s[i]==100){a[4]++;count++;}
if(s[i]==101){a[5]++;count++;}
if(s[i]==102){a[6]++;count++;}
if(s[i]==103){a[7]++;count++;}
if(s[i]==104){a[8]++;count++;}
if(s[i]==105){a[9]++;count++;}
if(s[i]==106){a[10]++;count++;}
if(s[i]==107){a[11]++;count++;}
if(s[i]==108){a[12]++;count++;}
if(s[i]==109){a[13]++;count++;}
if(s[i]==110){a[14]++;count++;}
if(s[i]==111){a[15]++;count++;}
if(s[i]==112){a[16]++;count++;}
if(s[i]==113){a[17]++;count++;}
if(s[i]==114){a[18]++;count++;}
if(s[i]==115){a[19]++;count++;}
if(s[i]==116){a[20]++;count++;}
if(s[i]==117){a[21]++;count++;}
if(s[i]==118){a[22]++;count++;}
if(s[i]==119){a[23]++;count++;}
if(s[i]==120){a[24]++;count++;}
if(s[i]==121){a[25]++;count++;}
if(s[i]==122){a[26]++;count++;}
	}
	if(count==0)printf("No");
	for(i=1;i<=26;i++)
		if(a[i]!=0)printf("%c=%d\n",i+96,a[i]);
}
void main()
{
	char str[300],c[300],p;
	int i,j,t,f=0,m,a[300];
	gets(str);
	m=strlen(str);
	for(i=0;i<=(m-1);i++)
	{
		if(str[i]<=122&&str[i]>=97)
		{
			
			t=1;
			for(j=i+1;j<=(m-1);j++)
			{
				if(str[i]==str[j])
				{
					t++;
				str[j]='}';
				}/*'}'=125??????????????????*/
				
			}
			a[i]=t;
			
		}
		else 
		{
			f++;
			a[i]=0;
			str[i]='}';
		}
	}


	if(f==m)
		printf("No");
	else 
		for(i=0;i<=m-1;i++)
		{
			c[i]=str[i];
		}
	for(j=0;j<m;j++)
		for(i=0;i<m-j;i++)
		{
			if(c[i]>c[i+1])
			{
				p=c[i];
				c[i]=c[i+1];
				c[i+1]=p;
			}
		}
		for(j=0;j<=m-1;j++)
		{
			for(i=0;i<=m-1;i++)
			{
				if(str[i]<=122&&str[i]>=97&&c[j]==str[i])
				{
					printf("%c=%d\n",str[i],a[i]);
				}

			}
		}
	

}
int main(){
	char n[300];
	scanf("%s",n);
	int zm[26];
	int i,j,cd,jg=0;
	for(i=0;i<26;i++){
		zm[i]=0;
	}
	cd=strlen(n);
	
	for(j=0;j<cd;j++){
		i=(n[j]-'a');
		if(i<26&&i>=0){
			zm[i]++;
		}
	}
	
	for(i=0;i<26;i++){
		if(zm[i]>0){
			jg=1;
			break;
		}
	}
	if(jg==0){
		printf("No\n");
	}else{
		for(i=0;i<26;i++){
			if(zm[i]>0){
				printf("%c=%d\n",'a'+i,zm[i]);
			}
		}
	}
	return 0;
}
int main()
{
 char str[301];
 char*by;
 by=str;
 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;
scanf("%s",str);
 for(;*by!='\0';by++)
{
 if(*by=='a'){a++;}
if(*by=='b'){b++;}
if(*by=='c'){c++;}
if(*by=='d'){d++;}
if(*by=='e'){e++;}
if(*by=='f'){f++;}
if(*by=='g'){g++;}
if(*by=='h'){h++;}
if(*by=='i'){i++;}
if(*by=='j'){j++;}
if(*by=='k'){k++;}
if(*by=='l'){l++;}
if(*by=='m'){m++;}
if(*by=='n'){n++;}
if(*by=='o'){o++;}
if(*by=='p'){p++;}
if(*by=='q'){q++;}
if(*by=='r'){r++;}
if(*by=='s'){s++;}
if(*by=='t'){t++;}
if(*by=='u'){u++;}
if(*by=='v'){v++;}
if(*by=='w'){w++;}
if(*by=='x'){x++;}
if(*by=='y'){y++;}
if(*by=='z'){z++;}
}
if(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){printf("No");}
 if(a!=0){printf("a=%d\n",a);}
 if(b!=0){printf("b=%d\n",b);}
if(c!=0){printf("c=%d\n",c);}
 if(d!=0){printf("d=%d\n",d);}
 if(e!=0){printf("e=%d\n",e);}
if(f!=0){printf("f=%d\n",f);}
 if(g!=0){printf("g=%d\n",g);}
 if(h!=0){printf("h=%d\n",h);}
if(i!=0){printf("i=%d\n",i);}
 if(j!=0){printf("j=%d\n",j);}
 if(k!=0){printf("k=%d\n",k);}
 if(l!=0){printf("l=%d\n",l);}
 if(m!=0){printf("m=%d\n",m);}
 if(n!=0){printf("n=%d\n",n);}
 if(p!=0){printf("p=%d\n",p);}
 if(q!=0){printf("q=%d\n",q);}
 if(r!=0){printf("r=%d\n",r);}
 if(s!=0){printf("s=%d\n",s);}
 if(t!=0){printf("t=%d\n",t);}
 if(u!=0){printf("u=%d\n",u);}
 if(v!=0){printf("v=%d\n",v);}
 if(w!=0){printf("w=%d\n",w);}
 if(x!=0){printf("x=%d\n",x);}
 if(y!=0){printf("y=%d\n",y);}
 if(z!=0){printf("z=%d\n",z);}
return 0;
}
void count (char s[])
{
	int a[26]={0};
	int i,t=0,k=0,b;
	b=0;
	for (i=0;s[i]!=0;i++)
		if ((s[i]>=97)&&(s[i]<=122))
		{
			if (b==0) b=1;
			a[s[i]-97]=a[s[i]-97]+1;
		}
	if (b==0) printf("No\n");
	else for (i=0;i<26;i++)
		if (a[i]) printf("%c=%d\n",i+97,a[i]);
}

void main()
{
	char s[300]={0};
	scanf("%s",s);
	count(s);
}
int main()
{
	char str[300],*ps;
	int count=0;
	scanf("%s",str);
	char i='a';
	int f = 0;
	for(i='a';i<='z';i++)
	{
		for(ps=str;*ps!='\0';ps++)
		{
			if(*ps==i)
			{   f+= 1;   
				count++;
			}
		}
if(count>0){
		printf("%c=%d\n",i,count);}
   count=0;
	}
    if(f==0)
	{
		printf("No");
	}
	return 0;
}
int main(int argc, char* argv[])
{  
    char s[301];
	gets(s);


	char b[301],d[30];
	char t;
	int i,j=0,h=0;
	int len=strlen(s);
	for(i=0;i<len;i++)
	{
		if(s[i]>='a'&&s[i]<='z')
		{
			b[j]=s[i];
			j++;
		}
	}
	if(j==0){
		printf("No\n");}


    int c[30]={0},m;
	char k;
	for(k='a';k<='z';k++)
	{
	    for(m=0;m<j;m++)
		{
			if(b[m]==k)
			{
				d[h]=k;
				h++;
				break;
			}
        }
	}
    for(k=0;k<h;k++)
	{
	  for(i=0;i<j;i++)
	  {
		if(b[i]==d[k])
		{
			c[k]++;
		}
	  }
	}
			



  	for(i=0;i<h;i++)
	{
		printf("%c=%d\n",d[i],c[i]);
	}
	return 0;
}