import java.io.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = null; int numOfNe = 0; int numOfNotNe = 0; double sum = 0; while((str = in.readLine()) != null){ int temp = Integer.parseInt(str); if(temp < 0){ numOfNe ++; }else{ numOfNotNe ++; sum += temp; } } System.out.println(numOfNe); if(numOfNotNe == 0){ System.out.println(0.0); }else{ System.out.printf("%.1f",sum / numOfNotNe); }

}

}