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