Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT n = 6 ; NEW_LINE for i in range ( 100 ) : NEW_LINE INDENT g . append ( [ ] ) NEW_LINE DEDENT create_graph ( ) ; NEW_LINE dfs ( 1 , - 1 ) ; NEW_LINE print ( ans ) ; NEW_LINE DEDENT