print ten numbers at atime