



"""simple docstring"""

def __lowercase			(							_a		,			_a		,			_a		,			_a    ):
    if height >= 1:
        move_tower(height - 1		,			_a		,			_a		,			_a    )
        move_disk(_a		,			_a    )
        move_tower(height - 1		,			_a		,			_a		,			_a    )




def __lowercase			(							_a		,			_a    ):
    print('''moving disk from'''		,			_a		,			'''to'''		,			_a    )




def __lowercase			(							):
    snake_case_ :     List[Any]				=	int(input('''Height of hanoi: '''    ).strip()    )
    move_tower(_a		,			'''A'''		,			'''B'''		,			'''C'''    )


if __name__ == "__main__":
     main()










"""simple docstring"""

def __lowercase			(							_a		,			_a		,			_a=False    ):

    if isinstance(_a		,			_a    ) and isinstance(_a		,			_a    ):
        snake_case_ :     Union[str, Any]				=	len(set_a.intersection(_a    )    )

        if alternative_union:
            snake_case_ :     Any				=	len(_a    ) + len(_a    )
        else:
            snake_case_ :     str				=	len(set_a.union(_a    )    )

        return intersection / union

    if isinstance(_a		,			(list, tuple)    ) and isinstance(_a		,			(list, tuple)    ):
        snake_case_ :     str				=	[element for element in set_a if element in set_b]

        if alternative_union:
            snake_case_ :     Tuple				=	len(_a    ) + len(_a    )
            return len(_a    ) / union
        else:
            snake_case_ :     List[Any]				=	set_a + [element for element in set_b if element not in set_a]
            return len(_a    ) / len(_a    )

        return len(_a    ) / len(_a    )
    return None


if __name__ == "__main__":
     lowercase__    :  Any							    =	{'''a''', '''b''', '''c''', '''d''', '''e'''}
     lowercase__    :  Optional[Any]							    =	{'''c''', '''d''', '''e''', '''f''', '''h''', '''i'''}
     print(jaccard_similarity(set_a, set_b))





