Jus bought a new CB250 engine, however the wiring is different.

The new engine has:
3 Pin Plug
-Yellow
-Yellow
-Yellow

Old engine has:
5pin plug
-Yellow
-Yellow
-Black

Anyway I can wire it into the loom?