#include <stdio.h>
int main()
{
int score=0,max_p=0,min_p=100;
int total_score=0,total_student=0;
while (1){
scanf("%d",&score);
if (score==-1){
break;
}
else if (score>100 || score<0){
continue;
}
else{
if (score>max_p){
max_p=score;
}
if (score<min_p){
min_p=score;
}
total_score+=score;
total_student++;
}
}
double average=1.0*total_score/total_student;
printf("全班一共有学生:%d\n",total_student);
printf("全班平均分:%.1f\n",average);
printf("全班最高分:%d\n",max_p);
printf("全班最低分:%d",min_p);
}