Quick/dumb question- how to visually identify a 340 vs 360 vs 318 (with a 4bbl)?

Theres casting numbers on the drivers side of the block to be seen or the ones stamped into the block just under the drivers side head.