For Glazenut x Apricot for Glazenut seeds, do both plants have a chance to produce the seeds or is it just one of them?

Basically I'm trying to plan out how i'm laying this all out.