A carriage return will move the cursor to the beginning of the line, but not move to the next line. The text typed after it will overwrite what was there before on the terminal, in this case the number.