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