3GS Restore

If I do a restore (to factory settings) on an iPhone 3GS what iOS will I end up with?

Answers