#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
double sum = 0;
for (int i = 1; i <= n; i ++) {
int x;
cin >> x;
sum += x;
}
printf ("%.2lf", sum/n);
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
double x;
cin >> n;
double sum = 0;
for (int i = 1; i <= n; i ++) {
cin >> x;
sum += x;
}
printf("%.4f",sum*1.0/n);
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main() {
int n,x;
cin >> n;
int sum = 0;
for (int i = 1; i <= n; i ++) {
cin >> x;
sum += x;
}
printf("%d %.5f",sum,sum*1.0/n);
return 0;
}