s14 transmission/driveshaft question

I’m putting a ka24de into my s12. Its from a 1995 s14. I’m wondering if the driveshaft from an s14 and from an s13 have the same spline count. As in will an s13 driveshaft fit into my s14 transmission?