Three men traveling with their wives came to a river which they wished to cross. There was but one boat and but two could cross at one time; and since the husbands were jealous no woman could be with a man unless her own husband was present. In what manner did they get across the river?