<｜begin▁of▁sentence｜>### Instruction:
As a clinical dietitian who provides nutritional assessment, counseling, and therapy for individuals with medical conditions or dietary needs, let's imagine that we are working with a group of 10 patients who are part of a support group for managing their dietary concerns. The group has 20 different dietary challenges that need to be addressed. To ensure effective management, you need to use the CohesiveBlocks.parent function in your patient management software to find the parent group index of a specific dietary challenge within the block structure.
### Response:
from igraph import Graph
from igraph.clustering import CohesiveBlocks

g = Graph.Erdos_Renyi(n=10, m=20)
blocks = CohesiveBlocks(g)
block_structure = blocks.blocks

# Get the parent block index of block with index 1 (0-based indexing)
parent_index = blocks.parent(1)
print('Parent index of block 1:', parent_index)
<|EOT|>
