340 question

hi guys

will early 360 heads work on a 340 block? the heads are stamped 360 on the inside.

thanks for your help.