...and the same at beginning of the input