Which of the following electron configurations for neutral atoms is correct?

argon: 1s 22s 22p 63s 23p 6
magnesium: 1s 22s 22p 63s 23p 6