Looking for a anime, but can't remember its name

I remember watching a anime years ago, I remember it being pretty funny and I’m thinking about rewatching it, but I can’t remember its name.

Heres the plot that I can remember, theres 2 planets where both men and women have been seperated for centurys, they aparantly are at war and when they fight two of their ships combine into one and the female and male crew must work together to fight earth I think. I wish I could remember more

its vandread, I think.

Thats it, thanks