compare and store the longest and second longest
if ( inn [ child ] >= mx1 ) : NEW_LINE INDENT mx2 = mx1 NEW_LINE mx1 = inn [ child ] NEW_LINE DEDENT elif ( inn [ child ] > mx2 ) : NEW_LINE INDENT mx2 = inn [ child ] NEW_LINE DEDENT