Male and female of all of them came to Noah and entered the ark. Everything happened exactly as God had commanded Noah.