@@ -0,0 +1,697 @@
+import java.util.*;%0A%0Apublic class Solution%7B%0A    private static final int initialHeight = 1;%0A    %0A    public static void main(String%5B%5D args)%7B%0A        int numTests;%0A        Scanner sc = new Scanner(System.in);%0A        numTests = sc.nextInt();%0A        int numCycles;%0A        int height;%0A        int i = 0;%0A        while (i %3C numTests)%7B%0A            numCycles = sc.nextInt();%0A            height = initialHeight;%0A            for(int j =0;j %3C numCycles;j++)%7B%0A                if (j%252 == 0)%7B%0A                    height *= 2;%0A                %7D%0A                else %7B%0A                    height += 1;%0A                %7D%0A            %7D%0A            System.out.println(height);%0A            i++;%0A        %7D%0A    %7D%0A%7D%0A

Create UtopianTree.java