semeru/Code-Code-CloneDetection-POJ104 huggingface dataset:
int main()
{
	int i, n, age;
	double a, b, c, d;
	a = b = c = d = 0;
	scanf("%d", &n);
	for(i=0; i<n; i++)
	{
		scanf("%d", &age);
		if(age <= 18)
			a ++;
		else if(age >= 19 && age <= 35)
			b ++;
		else if(age >= 36 && age <= 60)
			c ++;
		else
			d ++;
	}
	a /= (double)n;
	b /= (double)n;
	c /= (double)n;
	d /= (double)n;

	printf("1-18: %.2lf%%", a * 100.0);
	printf("\n19-35: %.2lf%%", b * 100.0);
	printf("\n36-60: %.2lf%%", c * 100.0);
	printf("\n60??: %.2lf%%", d * 100.0);

	return 0;
}
//********************************
//*????????   **
//*?????? 1200012844 **
//*???2012.10.5  **
//********************************

int main()//?????
{
	int n, i = 0, s; //??n i s?????
	double a = 0, b = 0, c = 0, d = 0, e, f, g, h;//??a b c d e f g h???????
	cin >> n;//??????n
	for (i = 1; i <= n; i++)
	{
		cin >> s;//??????
		if( s < 19 )
			a = a + 1;
		else if( s < 36 )
			b = b + 1;
        else if( s < 61 )
			c = c + 1;
		else
			d = d + 1;//??????????
	}
	//???????????????????
	e = a/n*100;
	f = b/n*100;
	g = c/n*100;
	h = d/n*100;
	//???????????????????
	cout << "1-18: "; printf("%.2f", e);	cout << "%" << endl;
	cout << "19-35: "; printf("%.2f", f); cout << "%" << endl;
	cout << "36-60: "; printf("%.2f", g); cout << "%" << endl;
	cout << "60??: "; printf("%.2f", h); cout << "%" << endl;
	return 0;
}
int main(){
	int n, i;
	i=1;
	double p, q, x, y;
	p=0;
	q=0;
	x=0;
	y=0;
	scanf("%d\n",&n);
	while(i<=n){
		int a;
		scanf("%d",&a);
		if(a<=18){
			p=p+1;
		}else if(a<=35){
			q=q+1;
		}else if(a<=60){
			x=x+1;
		}else{
			y=y+1;
		}
		i++;
	}
	p=p/n*100;
	q=q/n*100;
	x=x/n*100;
	y=y/n*100;
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",p, q, x, y);
	return 0;
}
int main()
{
	int n,i,s[4],a;
	double d[4];
	scanf("%d",&n);
	s[0]=s[1]=s[2]=s[3]=0;
	for(i=0;i<n;i++)
	{
		scanf("%d",&a);
		if(a>=1&&a<=18)
		{
			s[0]++;
		}
		if(a>=19&&a<=35)
		{
			s[1]++;
		}
		if(a>=36&&a<=60)
		{
			s[2]++;
		}
		if(a>=61)
		{
			s[3]++;
		}
	}
	for(i=0;i<4;i++)
	{ 
		d[i]=(double)s[i]/n*100;
	}
	printf("1-18: %.2lf%%\n",d[0]);
	printf("19-35: %.2lf%%\n",d[1]);
	printf("36-60: %.2lf%%\n",d[2]);
	printf("60??: %.2lf%%\n",d[3]);
	return 0;
}
int main(){
	int n,y;
	double i=1,a,b,c,d;
	scanf("%d",&n);
	while(i<=n){
		scanf("%d",&y);
		if(y<=18){
			a+=1;
		}else if(y>18&&y<=35){
			b+=1;
		}else if(y>35&&y<=60){
			c+=1;
		}else if(y>60){
			d+=1;
		}
		i++;
	}
		printf("1-18: %.2lf%%\n",100*a/n);
		printf("19-35: %.2lf%%\n",100*b/n);
		printf("36-60: %.2lf%%\n",100*c/n);
		printf("60??: %.2lf%%\n",100*d/n);
	return 0;
}
int main()
{
	int n,i;
	int age[100];
	scanf("%d",&n);
	for (i=0;i<n;i++)
	{
		scanf("%d",&(age[i]));
	}
	int a=0,b=0,c=0,d=0;
	for (i=0;i<n;i++)
	{
		if (age[i]<=18)
		{
			a++ ;
		}
		if (age[i]>=19&&age[i]<=35)
		{
			b ++ ;
		}
		if (age[i]>=36&&age[i]<=60)
		{
			c ++ ;
		}
		if (age[i]>=61)
		{
			d ++ ;
		}
	}
	printf("1-18: %.2f%%\n",1.0*a/n*100);
	printf("19-35: %.2f%%\n",1.0*b/n*100);
	printf("36-60: %.2f%%\n",1.0*c/n*100);
	printf("60??: %.2f%%\n",1.0*d/n*100);
	return 0;
}
int main()
{
    int n,time=0,age;
    double a=0,b=0,c=0,d=0,s;
    
    cin>>n;
    
    while(time<n)
    {
                 cin>>age;
                 if(age<=18)
                 a=a+1;
                 else if(age<=35)
                 b=b+1;
                 else if(age<=60)
                 c=c+1;
                 else
                 d=d+1;
                 
                 time++;
    }
    
    s=a+b+c+d;
    cout<<setprecision(2)<<fixed<<"1-18: "<<100*a/s<<"%"<<endl;
    cout<<"19-35: "<<100*b/s<<"%"<<endl;
    cout<<"36-60: "<<100*c/s<<"%"<<endl;
    cout<<"60??: "<<100*d/s<<"%"<<endl;
    

    
    return 0;
}
int main()
{
	int n,i;
	double a=0.0,b=0.0,c=0.0,d=0.0;
	int age[100];
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&age[i]);
		if(age[i]<=18)
			a++;
		else if(age[i]<=35)
			b++;
		else if(age[i]<=60)
			c++;
		else
			d++;
	}
	printf("1-18: %.2f%%\n",a/n*100);
	printf("19-35: %.2f%%\n",b/n*100);
	printf("36-60: %.2f%%\n",c/n*100);
	printf("60??: %.2f%%\n",d/n*100);

         
}
int main(){
	double n,age[99],num1=0.00,num2=0.00,num3=0.00,num4=0.00;
	int i;
	double p1,p2,p3,p4;
	scanf("%lf",&n);
	for(i=0;i<n;i++){
		scanf("%lf",&age[i]);
	}
	for(i=0;i<n;i++){
		if(age[i]<=18){
			num1+=1;
		}
		if((age[i]>=19)&&(age[i]<=35)){
			num2+=1;
		}
		if((age[i]>=36)&&(age[i]<=60)){
			num3+=1;
		}
		if(age[i]>=61){
			num4+=1;
		}
	}
	p1=100*num1/n;
	p2=100*num2/n;
	p3=100*num3/n;
	p4=100*num4/n;
	printf("1-18: %.2lf%%\n",p1);
	printf("19-35: %.2lf%%\n",p2);
	printf("36-60: %.2lf%%\n",p3);
	printf("60??: %.2lf%%\n",p4);
	return 0;
}
int main()
{
	int n,i,t;
	double a=0.00,b=0.00,c=0.00,d=0.00;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&t);
		if(t>=1&&t<=18) a++;
		if(t>=19&&t<=35) b++;
		if(t>=36&&t<=60) c++;
		if(t>=61) d++;
	}
	a=100*(double)a/n; b=100*(double)b/n;c=100*(double)c/n;d=100*(double)d/n;
	printf("1-18: %.2lf%%\n",a);
	printf("19-35: %.2lf%%\n",b);
	printf("36-60: %.2lf%%\n",c);
	printf("60??: %.2lf%%",d);
	return 0;
}
int main()
{
	int n;
	scanf("%d",&n);
	int sz[100];
	int i;
	int a=0,b=0,c=0,d=0;
	for (i=0;i<n;i++)
	{
		scanf("%d",&sz[i]);
		if (sz[i]<=18)
			a=a+1;
		if (sz[i]>=19&&sz[i]<=35)
			b=b+1;
		if (sz[i]>=36&&sz[i]<=60)
			c=c+1;
		if (sz[i]>60)
			d=d+1;
	}
	double a1,b1,c1,d1;
	a1=(double)(a*1.0/n*100);
	b1=(double)(b*1.0/n*100);
	c1=(double)(c*1.0/n*100);
	d1=(double)(d*1.0/n*100);
	printf("1-18: %.2lf",a1);
	printf("%%\n");
    printf("19-35: %.2lf",b1);
		printf("%%\n");
	printf("36-60: %.2lf",c1);
		printf("%%\n");
	printf("60??: %.2lf",d1);
		printf("%%\n");
	return 0;
}
void main()
{
	int n,i,a[100];
	double b[4]={0,0,0,0};
	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]=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 
			b[3]=b[3]+1;
	printf("1-18: %.2lf%%\n",b[0]/n*100);
	printf("19-35: %.2lf%%\n",b[1]/n*100);
	printf("36-60: %.2lf%%\n",b[2]/n*100);
	printf("60??: %.2lf%%\n",b[3]/n*100);
}
int main()
{
    int sz[100];
	int n,i,a=0,b=0,c=0,d=0;
	double a1,b1,c1,d1;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&sz[i]);
		if(sz[i]<=18)
			a++;
		if(sz[i]<=35&&sz[i]>=19)
			b++;
        if(sz[i]<=60&&sz[i]>=36)
			c++;
		if(sz[i]>60)
			d++;
	}
    a1=(a*1.0/n*1.0)*100;
	b1=(b*1.0/n*1.0)*100;
	c1=(c*1.0/n*1.0)*100;
	d1=(d*1.0/n*1.0)*100;
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%",a1,b1,c1,d1);
	return 0;
}
int main(){
	int n;
	scanf("%d",&n);
	int i;
	int old;
	int n1=0,n2=0,n3=0,n4=0;

	for(i=0;i<n;i++){
		scanf("%d",&old);
		if(old<=18){
			n1+=1;
		}
		if(old>=19&&old<=35){
			n2+=1;
		}
		if(old>=36&&old<=60){
			n3+=1;
		}
		if(old>=61){
			n4+=1;
		}
	}

	double b1=100.0*n1/n;
	double b2=100.0*n2/n;
	double b3=100.0*n3/n;
	double b4=100.0*n4/n;

	printf("1-18: %.2lf%%\n",b1);
	printf("19-35: %.2lf%%\n",b2);
	printf("36-60: %.2lf%%\n",b3);
	printf("60??: %.2lf%%",b4);
	
	return 0;
}
int main()
{
	int n=0;
	scanf("%d",&n);
	int a[100]={0};
	int i=0;
	double b=0;
	 double c=0;
          double d=0;
double e=0;
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);                                                                            
		if(a[i]>=1&&a[i]<=18){
			b=b+1;
		}
        if(a[i]>=19&&a[i]<=35){
			c=c+1;
		}
      if(a[i]>=36&&a[i]<=60){
		  d=d+1;
	  }
     if(a[i]>=61){
		 e=e+1;
	 }
	}
	printf("1-18: %.2f%%\n",100*b/(1.0*n));
    printf("19-35: %.2f%%\n",100*c/(1.0*n));
   printf("36-60: %.2f%%\n",100*d/(1.0*n));
    printf("60??: %.2f%%",100*e/(1.0*n));
	return 0;
}
int main(){
	int age[100],n,i,a=0,b=0,c=0,d=0;
	double age18,age35,age60,ageabove;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&age[i]);
	}
	for(i=0;i<n;i++)
	{
		if(age[i]>=1&&age[i]<=18)
		{
			a++;
		}
		else if(age[i]>=19&&age[i]<=35)
		{
			b++;
		}
		else if(age[i]>=36&&age[i]<=60)
		{
			c++;
		}
		else
		{
			d++;
		}
	}
	age18=(double)a/n*100;
	age35=(double)b/n*100;
	age60=(double)c/n*100;
	ageabove=(double)d/n*100;
	printf("1-18: %.2lf%%\n",age18);
	printf("19-35: %.2lf%%\n",age35);
	printf("36-60: %.2lf%%\n",age60);
	printf("60??: %.2lf%%\n",ageabove);
	return 0;
}
int main(){
	int i;
	double n,a,b,c,d;
	a=0;
	b=0;
	c=0;
	d=0;
	scanf("%lf",&n);
	int s[100];
	for(i=0;i<n;i++){
		scanf("%d",&s[i]);
		if(s[i]>=1&&s[i]<=18)
			a++;
		else if(s[i]>=19&&s[i]<=35)
			b++;
		else if(s[i]>=36&&s[i]<=60)
			c++;
		else
			d++;
	}
	a=a/n*100;
	b=b/n*100;
	c=c/n*100;
	d=d/n*100;
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",a,b,c,d);
	return 0;
}
int main(){
    int n,i,a[101];
    int s1=0,s2=0,s3=0,s4=0;
    double m1,m2,m3,m4;
    scanf("%d",&n);
    for(i=0;i<n;i++){
         scanf("%d",&a[i]);
         if(1<=a[i]&&a[i]<=18){
                s1++;
         }
         else if(19<=a[i]&&a[i]<=35){
                s2++;
         }
         else if(36<=a[i]&&a[i]<=60){
                s3++;
         }
         else if(a[i]>60){
                s4++;
         }
     }
     m1=(double)s1/n*100;
     m2=(double)s2/n*100;
     m3=(double)s3/n*100;
     m4=(double)s4/n*100;
     printf("1-18: %.2lf",m1);
     printf("%%\n") ;     
     printf("19-35: %.2lf",m2);
     printf("%%\n") ;    
     printf("36-60: %.2lf",m3);
     printf("%%\n") ;    
     printf("60??: %.2lf",m4);
     printf("%%\n") ; 
     return 0;
}
int main(){
int sz[100];
int n,i,a,b,c,d;
double w,x,y,z;
scanf("%d\n",&n);

a=0;
b=0;
c=0;
d=0;

for(i=0;i<n;i++)
{scanf("%d ",&(sz[i]));
if(sz[i]<=18)a++;else{
if(sz[i]<=35)b++;else{
if(sz[i]<=60)c++;
else d++;}}
}
w=a*1.0/n*100;
x=b*1.0/n*100.0;
y=c*1.0/n*100.0;
z=d*1.0/n*100.0;
printf("1-18: %.2lf%\n",w);
printf("19-35: %.2lf%\n",x);
printf("36-60: %.2lf%\n",y);
printf("60??: %.2lf%\n",z);
return 0;
}
void main()
{ int n,s,i;
float a=0,b=0,c=0,d=0;
  scanf("%d",&n);
  for(i=0;i<n;i++)
  {  scanf("%d",&s);
   if(s<=18)
	   a=a+1;
   if(s>18&&s<36)
	   b=b+1;
   if(s>35&&s<61)
	   c=c+1;
   if(s>60)
	   d=d+1;
  }

printf("1-18: %.2f%%\n",a/n*100);
printf("19-35: %.2f%%\n",b/n*100);
printf("36-60: %.2f%%\n",c/n*100);
printf("60??: %.2f%%",d/n*100);
}
int main()
{
    int n,a[100],i,b=0,c=0,d=0,e=0;
    double per1=0,per2=0,per3=0,per4=0;
    scanf("%d",&n);
    for(i=0;i<n;i++)

scanf("%d",&a[i]);
    for(i=0;i<n;i++)
    {   

if(a[i]>0&&a[i]<19)


b++;

if(a[i]>18&&a[i]<36)


c++;

if(a[i]>35&&a[i]<61)


d++;

if(a[i]>60)


e++;
    }
    per1=(double)b/n*100;
    per2=(double)c/n*100;
    per3=(double)d/n*100;
    per4=(double)e/n*100;
    printf("1-18: %.2lf%\n",per1);
    printf("19-35: %.2lf%\n",per2);
    printf("36-60: %.2lf%\n",per3);
    printf("60??: %.2lf%\n",per4);
    return 0;
}
int main(){
	int n,i,a,b,c,d,x;
	double m,k,p,q;
	a=0;
	b=0;
	c=0;
    d=0;
	i=1;
	scanf("%d",&n);
	while(i<=n){
		scanf("%d",&x);
		if(x<=18){
			a+=1;
		}else if(x>=19&&x<=35){
			b+=1;
		}else if(x>=36&&x<=60){
			c+=1;
		}else if(x>=60){
			d+=1;
}
			i++;
		
	}
		m=1.0*a/n*100;
		k=1.0*b/n*100;
		p=1.0*c/n*100;
		q=1.0*d/n*100;
		printf("1-18: %.2lf%\n",m);
		printf("19-35: %.2lf%\n",k);
		printf("36-60: %.2lf%\n",p);
		printf("60??: %.2lf%\n",q);
		return 0;
}
int main()
{
 int n,i,c=0,y=0,a=0,o=0;
 int sum[100];
 double cl,yl,al,ol;
 scanf("%d\n",&n);
 for(i=1;i<=n;i++)
 {
     scanf("%d ",&sum[i-1]);
     if(sum[i-1]<=18)
         c=c+1;
     else if(sum[i-1]<=35)
         y=y+1;
     else if(sum[i-1]<=60)
         a=a+1;
     else  o=o+1;

 }
  cl=c*1.0*100/n;
  yl=y*1.0*100/n;
  al=a*1.0*100/n;
  ol=o*1.0*100/n;
  printf("1-18: %.2lf%\n19-35: %.2lf%\n36-60: %.2lf%\n60??: %.2lf%",cl,yl,al,ol);
  return 0;
}
int main()
{
	double n;
	scanf("%lf",&n);
	int man[100];
	int i;
	for(i=0;i<n;i++){
		scanf("%d",&(man[i]));
	}
	double a=0,b=0,c=0,d=0;
	for(i=0;i<n;i++){
		if(man[i]>=1&&man[i]<=18)
			a++;
		if(man[i]>=19&&man[i]<=35)
			b++;
		if(man[i]>=36&&man[i]<=60)
			c++;
		if(man[i]>=61)
			d++;
	}
	double x,y,z,w;
	x=100*(a/n);
	y=100*(b/n);
	z=100*(c/n);
	w=100*(d/n);
	printf("1-18: %.2lf%%\n",x);
	printf("19-35: %.2lf%%\n",y);
    printf("36-60: %.2lf%%\n",z);
	printf("60??: %.2lf%%\n",w);
	return 0;
}
int main(){
	double n;
	scanf("%lf",&n);
	int i;
	int m;
	double a=0,b=0,c=0,d=0;
	for(i=0;i<n;i++){
		scanf("%d",&m);
		if(m>=1&&m<=18){
			a++;
		}
		else if(m>18&&m<36){
			b++;
		}
		else if(m>35&&m<61){
			c++;
		}
		else{
			d++;
		}
	}
	a=100*a/n;
	b=100*b/n;
	c=100*c/n;
	d=100*d/n;
	printf("1-18: %.2lf",a);
	printf("%%\n");
	printf("19-35: %.2lf",b);
	printf("%%\n");
	printf("36-60: %.2lf",c);
	printf("%%\n");
	printf("60??: %.2lf",d);
	printf("%%");
	return 0;
}
void main()
{
 int n,i,a[1000];
 double b[4]={0.0};
 scanf("%d",&n);
 for(i=0;i<=n-1;i++)
  {
   scanf("%d",&a[i]);
   if(a[i]>=1&&a[i]<=18)
     b[0]++;
   if(a[i]>=19&&a[i]<=35)
     b[1]++;
   if(a[i]>=36&&a[i]<=60)
     b[2]++;
   if(a[i]>=61)    
     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);
}
void main()
{
	int a[100],n,i;
	double b,c,d,e,x,y,m,l;
	scanf("%d",&n);
	for(i=0,b=0,c=0,d=0,e=0;i<n;i++)
	{
		scanf("%d",&a[i]);
		if(a[i]<=18)
			b++;
		if((a[i]<=35)&&(a[i]>=19))
			c++;
		if((a[i]<=60)&&(a[i]>=36))
			d++;
		if(a[i]>=61)
			e++;
	}
	x=100*b/(double)n;
	y=100*c/(double)n;
	m=100*d/(double)n;
	l=100*e/(double)n;
	printf("1-18: %.2f%%\n19-35: %.2f%%\n36-60: %.2f%%\n60??: %.2f%%\n",x,y,m,l);
}
int main(){
	int n,sz[100],i;
	double a=0,b=0,c=0,d=0;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&sz[i]);
		if(sz[i]<=18){
			a++;
		}
		else if(sz[i]<=35){
			b++;
		}
		else if(sz[i]<=60){
			c++;
		}
		else{
			d++;
		}
	}
	a=100.0*a/n;
	b=100.0*b/n;
	c=100.0*c/n;
	d=100.0*d/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;
}
void main()
{
int i,n,m;
double a,b,c,d;
scanf("%d",&n);
a=b=c=d=0;
for(i=0;i<n;i++)
{ 
  scanf("%d",&m);
  if(m<19)a+=1;
  else if(18<m&&m<36)b+=1;
  else if(36<=m&&m<=60)c+=1;
  else if(m>=61)d+=1;}
a=100*a/n;b=100*b/n;c=100*c/n;d=100*d/n;
printf("1-18: ");printf("%.2lf%%\n",a);
printf("19-35: ");printf("%.2lf%%\n",b);
printf("36-60: ");printf("%.2lf%%\n",c);
printf("60??: ");printf("%.2lf%%\n",d);
}
void main()
{
	int a[100];
	int b[4]={0};
	double c[4];
	int n,i;
	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]++;
		else if(a[i]>18&&a[i]<=35)  b[1]++;
		else if(a[i]>=36&&a[i]<=60)  b[2]++;
		else   b[3]++;
	}
	for(i=0;i<4;i++)
		c[i]=(double)(b[i])/n*100;
    printf("1-18: %.2lf%%\n",c[0]);
	printf("19-35: %.2lf%%\n",c[1]);
	printf("36-60: %.2lf%%\n",c[2]);
	printf("60??: %.2lf%%\n",c[3]);
}
void main()
{
	int n,i,b=0,c=0,d=0,e=0;
	double p,q,r,s;
	int a[1000];
	scanf("%d\n",&n);
	printf("\n");
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		if(a[i]<=18)
			b++;
	}
	for(i=0;i<n;i++)
	{
		if(19<=a[i]&&a[i]<=35)
			c++;
	}
	for(i=0;i<n;i++)
	{
		if(36<=a[i]&&a[i]<=60)
			d++;
	}
	for(i=0;i<n;i++)
	{
		if(61<=a[i])
			e++;
	}
    p=(b*1.0/n)*100;
	q=(c*1.0/n)*100;
	r=(d*1.0/n)*100;
	s=(e*1.0/n)*100;
	printf("1-18: %.2lf%%\n",p);
	printf("19-35: %.2lf%%\n",q);
	printf("36-60: %.2lf%%\n",r);
	printf("60??: %.2lf%%\n",s);
}
int main () {

	int i,n,year, a=0,b=0,c=0,d=0;
	double e,f,g,h;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
	scanf("%d",&year);
	if(year<=18&&year>=1){a++;}
    else if(year<=35&&year>=19){b++;}
	else if(year<=60&&year>=36){c++;}
	else if(year>=60){d++;}
	}
    printf("1-18: %.2lf",(double)a/n*100);printf("%%\n");
	printf("19-35: %.2lf",(double)b/n*100);printf("%%\n");
	printf("36-60: %.2lf",(double)c/n*100);printf("%%\n");
	printf("60??: %.2lf",(double)d/n*100);printf("%%\n");





return 0; }
int main()
{
	int i,n,age[100],count[4];
	for(i=0;i<4;i++){
		count[i]=0;
	}
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&(age[i]));
		if(1<=age[i]&&age[i]<=18){
			count[0]+=1;
		}
		else if(19<=age[i]&&age[i]<=35){
			count[1]+=1;
		}
		else if(36<=age[i]&&age[i]<=60){
			count[2]+=1;
		}
		else if(age[i]>=61){
			count[3]+=1;
		}
	}
	printf("1-18: ""%.2lf%""%\n",(double)count[0]/n*100);
	printf("19-35: ""%.2lf%""%\n",(double)count[1]/n*100);
	printf("36-60: ""%.2lf%""%\n",(double)count[2]/n*100);
	printf("60??: ""%.2lf%1""%\n",(double)count[3]/n*100);
	return 0;
}
int main()
{
	int n,i,j,sz[100],a=0,b=0,c=0,d=0,e=0;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&sz[i]);
	}
	for(i=0;i<n;i++)
	{
		if(sz[i]<=18)
		{
			a++;
		}
		if(sz[i]>18&&sz[i]<=35)
		{
			b++;
		}
		if(sz[i]>35&&sz[i]<=60)
		{
			c++;
		}
		if(sz[i]>60)
		{
			d++;
		}
	}
	printf("1-18: %.2lf%%\n",(float)a/n*100);
    printf("19-35: %.2lf%%\n",(float)b/n*100);
		printf("36-60: %.2lf%%\n",(float)c/n*100);
	printf("60??: %.2lf%%\n",(float)d/n*100);



	return 0;
}
int main(int argc, char* argv[])
{  int sz[100];
   int n;
   int a=0;
   int b=0;
   int c=0;
   int d=0;
   double e,f,g,h;
   scanf("%d",&n);
   for (int i=0;i<n;i++){
        scanf("%d",&sz[i]);
        if(sz[i]<=18){
			a=a+1;
		}
		if(sz[i]>18&&sz[i]<36){
			b=b+1;
		}
		if(sz[i]>=36&&sz[i]<61){
			c=c+1;
		}
		if(sz[i]>=61){
			d=d+1;
		}
   }
   e=(double)a/n*100;
   f=(double)b/n*100;
   g=(double)c/n*100;
   h=(double)d/n*100;
   printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",e,f,g,h);
	return 0;
}
void main()
{

	int a[100];
	int n;
	double b1=0,b2=0,b3=0,b4=0;
	int i;
	double sum;

	scanf("%d",&n);
	for(i=0;i<n;i++)
		scanf("%d",&a[i]);


	for(i=0;i<n;i++)
       if(a[i]<=18)
            b1++;
	   else if(a[i]<=35)
		   b2++;
	   else if(a[i]<=60)
		   b3++;
	   else
		   b4++;
	sum=(b1+b2+b3+b4)*0.01;
	printf("1-18: %.2lf%%\n",b1/sum);
	printf("19-35: %.2lf%%\n",b2/sum);
	printf("36-60: %.2lf%%\n",b3/sum);
	printf("60??: %.2lf%%\n",b4/sum);



		

}
int main()
{
	int n,x,i,a,b,c,d;
	double rate1,rate2,rate3,rate4,k,l,m,p;
	i=1,a=0,b=0,c=0,d=0;
	scanf("%d\n",&n);
	if(n>0&&n<=100){
		while (i<=n){
			scanf("%d",&x);
			i=i+1;
			if(x<=18){
				a++;
			}
			else if(x>18&&x<=35){
				b++;
			}
			else if(x>35&&x<=60){
				c++;
			}
			else{
				d++;
			}
		}
		k=a,l=b,m=c,p=d;
		rate1=100*k/n,rate2=100*l/n,rate3=100*m/n,rate4=100*p/n;
		printf("1-18: %.2lf%%\n",rate1);
		printf("19-35: %.2lf%%\n",rate2);
		printf("36-60: %.2lf%%\n",rate3);
		printf("60??: %.2lf%%\n",rate4);
		}
	return 0;
}
int main()
{
	int n,i,x[100];
	double a=0,b=0,c=0,d=0,s,t,u,v,all;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&x[i]);
		if(x[i]<=18)
			a++;
		else if(x[i]>18&&x[i]<36)
			b++;
		else if(x[i]>35&&x[i]<61)
			c++;
		else 
			d++;
	}
	all=a+b+c+d;
	s=100*a/all;
	t=100*b/all;
	u=100*c/all;
	v=100*d/all;
    printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",s,t,u,v);
	return 0;
}
int main(){
	int i,a,n,b=0,c=0,d=0,e=0;
	double A,B,C,D;
	scanf("%d",&n);
	for(i=1;i<=n;i++){
	scanf("%d",&a);
	if(a>=1&&a<=18){
	b+=1;
	}else if(a>=19&&a<=35){
	c+=1;
	}else if(a>=36&&a<=60){
		d+=1;
	}else if(a>=61){
	e+=1;
	}
	}
	A=1.0*b/n;
	B=1.0*c/n;
	C=1.0*d/n;
	D=1.0*e/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,s;
	double a,b,c,d;
	a=b=c=d=0;
	scanf("%d\n",&n);
	for(int i=1;i<=n;i++){
		scanf("%d",&s);
		if (s<=18) a++;
		else if (s<=35) b++;
		else if (s<=60) c++;
		else d++;
	}
	a=a/n*100;
	b=b/n*100;
	c=c/n*100;
	d=d/n*100;
	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, i;
	scanf("%d", &n);
	int age[100], std[4]={0};
	for(i=0;i<n;i++){
		scanf("%d", &age[i]);
		if(age[i]<19){
			std[0]++;
		}
		else if(age[i]>18&&age[i]<36){
			std[1]++;
		}
		else if(age[i]>35&&age[i]<61){
			std[2]++;
		}
		else if(age[i]>60){
			std[3]++;
		}
	}
	for(i=0;i<4;i++){
		if(i==0){
		    printf("1-18: %.2lf%%\n", 0.1f*std[i]/n*1000);
		}
		if(i==1){
			printf("19-35: %.2lf%%\n", 0.1f*std[i]/n*1000);
		}
        if(i==2){
			printf("36-60: %.2lf%%\n", 0.1f*std[i]/n*1000);
		}
        if(i==3){
			printf("60??: %.2lf%%\n", 0.1f*std[i]/n*1000);
		}
	}
	return 0;
}
int main()
{
	int i=1,n,k,a=0,b=0,c=0,d=0;
	scanf("%d",&n);
	while(i<=n)
	{
		scanf("%d",&k);
		if(k>=1&&k<=18)
			a++;
		if(k>=19&&k<=35)
			b++;
		if(k>=36&&k<=60)
			c++;
		if(k>=61)
			d++;
		i++;
	}
    printf("1-18: %.2lf%%\n",(double)a*100/(double)n);
	printf("19-35: %.2lf%%\n",(double)b*100/(double)n);
	printf("36-60: %.2lf%%\n",(double)c*100/(double)n);
	printf("60??: %.2lf%%\n",(double)d*100/(double)n);
}
int main(){
	int n,i;
		scanf("%d\n",&n);
	int sz[100];
	for(i=0;i<n;i++){
	scanf("%d",&(sz[i]));
	}
	int s1,s2,s3,s4;
	s1=0;
	s2=0;
		s3=0;
		s4=0;
	for(i=0;i<n;i++){
		if(sz[i]<=18){
		s1+=1;
		}else if(sz[i]<=35){
		s2+=1;
		}else if(sz[i]<=60){
			s3+=1;
		}else{
			s4+=1;
		}
	}
double a,b,c,d;
a=1.0*s1/n*100;
b=1.0*s2/n*100;
c=1.0*s3/n*100;
d=1.0*s4/n*100;
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,i,a=0,b=0,c=0,d=0,e;
    scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d",&e);
		if(e<=18)
			a+=1;
		else{
			if(e<=35)
			b+=1;
		else{
			if(e<=60)
            c+=1;
		else{
			d+=1;
		}
		}
		}

	}
	
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",100.0*a/n,100.0*b/n,100.0*c/n,100.0*d/n);
	return 0;
}
int main()
{
    int i,sum1=0,sum2=0,sum3=0,sum4=0;
	double n;
	int p[102];
	scanf("%lf",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&p[i]);
	}
    for(i=0;i<n;i++)
	{
		if(p[i]<=18)
		  sum1+=1;
        else if(p[i]<=35)
			sum1+=0;
        else if(p[i]<=60)
			sum1+=0;
        else 
			sum1+=0;
	}
for(i=0;i<n;i++)
	{
		if(p[i]<=18)
		  sum2+=0;
        else if(p[i]<=35)
			sum2+=1;
        else if(p[i]<=60)
			sum2+=0;
        else 
			sum2+=0;
	}
for(i=0;i<n;i++)
	{
		if(p[i]<=18)
		  sum3+=0;
        else if(p[i]<=35)
			sum3+=0;
        else if(p[i]<=60)
			sum3+=1;
        else 
			sum3+=0;
	}
for(i=0;i<n;i++)
	{
		if(p[i]<=18)
		  sum4+=0;
        else if(p[i]<=35)
			sum4+=0;
        else if(p[i]<=60)
			sum4+=0;
        else 
			sum4+=1;
	}
	printf("1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%\n",(double)((sum1*100)/n),(double)((sum2*100)/n),(double)((sum3*100)/n),(double)((sum4*100)/n));
	return 0;
}
int main() {
	int n,a=0,b=0,c=0,d=0,m,i;
	double o,p,q,r;
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&m);
		if((m<=18)&&(m>=1)){
			a+=1;
		}else if((m>=19)&&(m<=35)){
			b+=1;
		}else if((m>=36)&&(m<=60)){
			c+=1;
		}else{
			d+=1;
		}
	}
    o=1.0*a*100/n;
    p=1.0*b*100/n;
	q=1.0*c*100/n;
	r=1.0*d*100/n;
		printf("1-18: ");
		printf("%.2lf%%\n",o);
		printf("19-35: ");
		printf("%.2lf%%\n",p);
		printf("36-60: ");
		printf("%.2lf%%\n",q);
		printf("60??: ");
		printf("%.2lf%%\n",r);
	    return 0;
	}
int main(){
  int n, year, i;
   double a, b, c, d;
    a=0;
    b=0;
    c=0;
    d=0;
  scanf("%d", &n);
  for(i=0;i<n;i++){
   scanf("%d", &year);
   if(year<=18 && year>=1){
      a++;}
  if(year>18 && year<=35){
   b++;}
   if(year>35 && year<=60){
   c++;}
    if(year>60){
     d++;}
          }
     printf("1-18: %.2lf", a/n*100); printf("%%\n");
    printf("19-35: %.2lf", b/n*100); printf("%%\n");
    printf("36-60: %.2lf", c/n*100); printf("%%\n");
      printf("60??: %.2lf", d/n*100); printf("%%\n");
     return 0;
     }
int main(){
    int n;
    scanf("%d\n",&n);
    int i,a=0,b=0,c=0,d=0;
    int sz[n];
    for(i=0;i<n;i++)
    {scanf("%d",&sz[i]);}
    for(i=0;i<n;i++)
    {if(sz[i]<=18){a=a+1;}
     else if(sz[i]>18&&sz[i]<=35){b=b+1;}
     else if(sz[i]>35&&sz[i]<=60){c=c+1;}
     else if(sz[i]>60) {d=d+1;}
    }
    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("Over60: %.2lf%%\n",100.0*d/n);
    return 0;
    
}