The number of ways in which 5 boys and 5 girls can be arranged in a row so that no two girls and no two boys are together is