318 vs 340

Just begun work on a 70 Swinger I've garaged for some time. According to my Vin #, it was a slant 6 car. It now has a v8 installed by previous owner. How do I tell whether I'm looking at a 318 or a 340. There must be a code somewhere on the block???

Tnx: Howard C