In a closed community, there are 128 children, unrelated biologically - 64 boys, 64 girls - who will marry and have children. Assume each couple will have 2 boys and 2 girls. For the next few generations, no one will marry a spouse that is biologically related.

In what generation will it become necessary for that generation to marry a biologically related spouse as all are related.