Finish the input for the first two pages