But, how should it retain it.

You have a vareity of options. Which one would you like to employ?

Also, don't forget that saving it is only half the battle.

Once saved, you also have to retrieve it the next time your program runs.

So, how do you want to go?

Database?
Text File?
Excel Spreadsheet?
Something else?