public class Solution { public static void main(String[] args) throws Exception { //write your code here boolean t = true; while(t=true){ BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); String s = r.readLine(); int a = Integer.parseInt(s); int m=0; m=m+a; int n = 0; if(a==(-1)){ double d = m/n; System.out.println(d); t = false; } n++; } } }