I need to replace the engine in my 2008 CX-9 GT AWD (8th digit VIN A)

Would a VIN V engine work? Or does it need to be VIN A?

Thank you