import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float n = Float.parseFloat(sc.next()); float a = Float.parseFloat(sc.next())/1000000; float ans = 0; for(int i=0;i