Hemi experts, help identify!

I'm looking at possibly buying a vintage Hemi engine, it's relatively complete, less water pump.
It's in rough shape, I don't even know if it's seized or not.
All I have to go by are a few pics from the sellers add and a stamped number...D502-63654 and "Red Ram" / "Dodge" valve covers.
By the mangled front end of the car, my best guess is it's from a '54 Dodge.

What CI would it be? 392ci, 354ci, 331 ?

Any help or pointers appreciated.
Thanks