Setting default number?!(編號:6288)

Eg Number of dogs :22 ( this number will be automatically appear while the program is running) of course you can change 22 to any number you want! But how do you set the number 22 will always start to running your program?! What I mean is when I restart my program the number of dogs will be 22 not the one i had changed before! Do you understand?!
Please help me!
thanks you!