Edges of the tree
graph [ 1 ] . append ( 2 ) NEW_LINE graph [ 2 ] . append ( 3 ) NEW_LINE graph [ 2 ] . append ( 4 ) NEW_LINE graph [ 1 ] . append ( 5 ) NEW_LINE graph [ 5 ] . append ( 6 ) NEW_LINE dfs ( 1 , 1 ) NEW_LINE print ( countTotalPangram ( n ) ) NEW_LINE