Write a Python program that keeps a numbered list of a maximum of 10 lines. Any new strings have to be put on top of the list at number 10. If there is nothing in the list, fill up the list from the 1st line.