ATMEGA328P -AU vs -AN Suffixes

Hi all, I hope this isn't a duplicate, but I couldn't find any previous threads covering my particular question.
For some context, I'm planning on putting together the Open Theremin as a bit of a side project.
The BOM calls for an ATMEGA328P-AU, however Digikey unfortunately seem to be out of stock of this particular variant.
They do have loads of the -AN version, so I wonder if this could be used instead. The datasheet has it listed as using the same 32A package, and with a slightly higher temperature rating, but I can't find anything else about it.

If anyone could point me in the right direction I'd greatly appreciate it.
Thanks.

yup, same package, same pinout, only temperature 85/105