Hi last week i went to a junkyard i saw a manualtranny accent 2001 or 2002 y dont know but its a 4 door it has a dohc engine will the engine and tranny will fit my 99 accent??? is it 1.6 dohc?? or 1.8 dohc please help

uzzled:cause they sell me the engine with tranny for 500 and the ecu for 100