#include "stdio.h"
#define N 3
void main()
{
int score[N],i,n1=0,n2=0,n3=0,max=0,min=0,sum=0,pingjun;
printf("please input score");
for(i=0;i<N;i++)
scanf("%d",&score[i]);
for(i=0;i<N;i++)
{
if(score[i]<60) n1++;
else if(score[i]>60&&score[i]<70) n2++;
else if(score[i]>70&&score[i]<80) n3++;
if(score[i]>max) max=score[i];
if(score[i]<min) min=score[i];
sum+=score[i];
}
pingjun=sum/N;
printf("%d %d %d %d %d %d ",n1,n2,n3,max,min,pingjun);
}