public class Main {
// vollst. Binärbaum der Tiefe d
// mit Schlüsseln 2^d * (c - 1) .. 2^d * c - 1
static Tree<Integer> build (int d, int c);
class Pair<A,B> { A first; B second; }
// (Schlüssel links außen, Schl. rechts außen)
static <A> Pair<A,A> bounds (Tree<A> t);
public static void main(String[] args) {
Tree<Integer> t = Main.build(4,1);
System.out.println (Main.bounds(t));
} }