Crib or pack n play?

So we currently live with my parents and have a master bedroom and once the baby is born he/she will be staying in our room until we move. So I’m wondering what would be more beneficial for the baby a crib or pack n play?