static L shortestList3(L a, L b, L c) { int la = l(a), lb = l(b); if (la < lb) ret l(c) < la ? c : a; else ret l(c) < lb ? c : b; }