import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Main { int N; int[][] curMap; int[][] A; void run() { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); double R = sc.nextDouble(); double T = sc.nextDouble(); double curR = 0; double curT = 1; for (int i = 0; i < N; ++i) { double nextR, nextT; nextR = curR + R * curT * curT * 1 / (1 - R * curR); nextT = curT * T * 1 / (1 - R * curR); curR = nextR; curT = nextT; } System.out.println(curR); } public static void main(String[] args) { new Main().run(); } void tr(Object... objects) { System.out.println(Arrays.deepToString(objects)); } }