#include <stdio.h>
int main() {
int a[10];
int b, s, n;
s=0;
for (b=0; b<9; b++) {
scanf ("%d ", &a[b]);
}
double average;
for (b=0; b<10; b++) {
s=s+a[b];
}
average=s/b*1.0;
printf ("%.1lf", average);
for (b=0, n=0; b<10; b++) {
if (average<a[b]) n++;
}
printf (" %d", n);
return 0;
}