#include <iostream> #include <iomanip> int main() { int n; std::cin >> n; double maxScore = -1.0; double minScore = 101.0; double totalScore = 0.0; for (int i = 0; i < n; i++) { double score; std::cin >> score; if (score > maxScore) { maxScore = score; } if (score < minScore) { minScore = score; } totalScore += score; } double average = totalScore / n; std::cout << std::fixed << std::setprecision(2) << maxScore << " " << minScore << " " << average << std::endl; return 0; }