<｜begin▁of▁sentence｜>### Instruction:
As a performance artist, imagine you're orchestrating a dynamic visual installation where nodes represent individuals and edges symbolize their connections. Your audience eagerly awaits an immersive experience where they witness the formation of cohesive groups within this interconnected network.

To captivate your audience, you want to use the CohesiveBlocks mechanism, an avant-garde tool akin to a spotlight, to illuminate the parent group index for each cohesive block. This allows observers to discern the distinct clusters emerging within the intricate web of relationships, adding depth and intrigue to your performance.

As you manipulate the graph, transitioning between states of connection and disconnection, the CohesiveBlocks tool unveils the underlying structure, revealing the overarching affiliations within the network. Each parent group index serves as a beacon, guiding viewers through the evolving narrative of social cohesion and divergence depicted in your artistic creation.
### Response:
import igraph as ig

# Create a graph
edges = [(0, 1), (0, 2), (1, 2), (3, 4), (4, 5), (3, 5), (1, 4)]
g = ig.Graph(edges)

# Initialize the CohesiveBlocks object
blocks = ig.CohesiveBlocks(g)

# Calculate the cohesive blocks
blocks = blocks.calculate()

# Get the parents of each cohesive block
parents = blocks.parents

# Print the list of parents for each block
for idx, parent in enumerate(parents):
    print(f'Block {idx} has parent block: {parent}')
<|EOT|>
