Knights Crossing

Have you ever heard of horses that when let free will go straight to their stall? Well... these horses got a little mixed up. It's up to you to get the horses to the correct stalls.

The object of this puzzle is to get the white horses to the white bordered squares and the black horses to the black bordered squares. Standard chess/knight moves apply.