#include<stdio.h> int main() { int n; float score[100],sum=0,min=100,max=0; scanf("%d",&n); for(int i=0;i<n;i++) { scanf("%f",&score[i]); sum+=score[i]; if(min>=score[i]) min=score[i]; if(max<=score[i]) max=score[i]; } printf("%.2f %.2f %.2f",max,min,sum/n); return 0; }