package num;
import java.util.Scanner;
public class num {
public static void main(String[ ]args){
Scanner in = new Scanner(System.in);
int count = in.nextInt();
int []num = new int[count];
double add = 0;
if (count>0) {
for(int i=0;i<count;i++)
{
num[i] = in.nextInt();
add +=num[i];
System.out.println("add="+add);
if(count>0)
{
System.out.println("平均数为:"+(add/count));
}
System.out.println("项数为:"+num.length);
}
}
}
}