static S takeFirstLines(int n, S s) { ret lineRange(s, 0, n); }