static void removeLast(L l) { if (!l.isEmpty()) l.remove(l(l)-1); }