The number of ways, 5 boys and 4 girls can sit in a row so that either all the boys sit together or no two boys sit together, is