#include <stdio.h>
#include <conio.h>
#include <math.h>
void main()
{
int n = 0;
float sum = 0, prois = 1, sumg, suma, x;
for (;;) {
scanf("%f", &x);
if (x == 0)
break;
n++;
sum = sum + x;
prois = prois*x;
}
if (n > 0) {
suma = sum / n;
sumg = pow(prois, 1. / n);
}
printf("Suma %f", sum);
getch();
}