<｜begin▁of▁sentence｜>### Instruction:
Imagine you're planning a series of team-building activities for a group of teens at the youth center, aiming to enhance their teamwork and problem-solving skills. For one of the activities, you've decided to create a virtual challenge that mirrors the complexity of relationships and teamwork dynamics. The challenge involves constructing a network of nodes - representing individuals - where no team of four can be formed without direct connection and support among its members. This network needs to consist of 8 individuals, representing the variety of connections in smaller teams, whilst ensuring no isolated group of four exists within the wider team.

In other words, your task is to craft a digital simulation of a community with 8 members, using a structure that avoids the formation of a subgroup of four that stands apart due to lack of direct links or support among them. Could you guide me on crafting this virtual setup using NetworkX, while ensuring the network adheres to the specific setup of no isolatable quartet within the team configuration?
### Response:
import networkx as nx

# Generate a random cograph with n=3 (which will have 2^3=8 nodes)
G = nx.random_cograph(n=3, seed=42)

print('Nodes:', G.nodes())
print('Edges:', G.edges())
<|EOT|>
