static void printNumbered(L l) { for i over l: { print((i + 1) + ". " + l.get(i)); } }