import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); float h=scanner.nextFloat(); int n =scanner.nextInt(); double a = 3*h-h/Math.pow(2,n-2); double b = h/Math.pow(2,n); //System.out.println(String.format("%.3f", b)+...