import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double r = sc.nextDouble(); sc.close(); double ans = 0; double x = 100; for (int i = 0; i < n; i++) { ans += x; x *= (1 - r); } System.out.println(ans); } }