Also, these `i` will start from 0, so you should use `(i + 1)` below to line up with what people usually mean by line numbers (first line = line 1).