n=gets.to_i if (n>200) p 1 else p 1-(1-gets.to_f)**n end