





def       A__(		__lowerCAmelCase	,			__lowerCAmelCase	,			__lowerCAmelCase	,			__lowerCAmelCase ):







				if height >= 1:
								move_tower(height - 1	,			__lowerCAmelCase	,			__lowerCAmelCase	,			__lowerCAmelCase )
								move_disk(__lowerCAmelCase	,			__lowerCAmelCase )
								move_tower(height - 1	,			__lowerCAmelCase	,			__lowerCAmelCase	,			__lowerCAmelCase )

def       A__(		__lowerCAmelCase	,			__lowerCAmelCase ):
				print('moving disk from'	,			__lowerCAmelCase	,			'to'	,			__lowerCAmelCase )

def       A__(		):
				_snake_case :			Dict  						=   int(input('Height of hanoi: ' ).strip() )
				move_tower(__lowerCAmelCase	,			'A'	,			'B'	,			'C' )


if __name__ == "__main__":
		main()













def       A__(		__lowerCAmelCase ):

				if not isinstance(__lowerCAmelCase	,			__lowerCAmelCase ):
								raise TypeError('only integers accepted as input' )
				else:
								_snake_case :			Any  						=   str(abs(__lowerCAmelCase ) )
								_snake_case :			List[str]  						=   [list(__lowerCAmelCase ) for char in range(len(__lowerCAmelCase ) )]
								for index in range(len(__lowerCAmelCase ) ):
												num_transpositions[index].pop(__lowerCAmelCase )
								return max(
								    int(''.join(list(__lowerCAmelCase ) ) ) for transposition in num_transpositions )


if __name__ == "__main__":
		__import__('''doctest''').testmod()






