How long did you baby wear newborn sized diapers?

I got 2 huge boxes and 2 smaller packs of newborn diapers from my baby shower and I already know I won’t need half of them. Can I exchange them if they are unopened in any store? Or does it have to be the store they got them from. Bc I have no receipts