printing first line of output