import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int n=koko.nextInt(); double p = koko.nextDouble(); double[] r = new double[n+1]; Arrays.fill(r,1); double count=0; for(int i=2; i