will they work?

my friend is going to be selling his 340 motor to me becasue he is getting a 360 for his scamp and i was wondering if the "302" heads will work good on the 340 just wondering because i have the 302 heads already so let me know. ps
i was planing on using 360 valves on the 302 heads 1.88 and 2.02 i think they were