static int smallestList_l(O l) { if (l == null) ret 0; if (l cast Pair) ret 2; if (l cast Triple) ret 3; if (l instanceof O[]) ret l((O[]) l); ret 1; }