Three men were taken to hospital after the collision.