






"""simple docstring"""






def  __lowerCamelCase					(					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  __lowerCamelCase					(					lowerCAmelCase__       ,lowerCAmelCase__				):
				print('moving disk from'       ,lowerCAmelCase__       ,'to'       ,lowerCAmelCase__				)



def  __lowerCamelCase					(					):
				A__							 =       int(input('Height of hanoi: '				).strip()				)
				move_tower(lowerCAmelCase__       ,'A'       ,'B'       ,'C'				)


if __name__ == "__main__":
					main()










"""simple docstring"""






def  __lowerCamelCase					(					lowerCAmelCase__       ,lowerCAmelCase__				):
				return 1 if input_a == input_a else 0



def  __lowerCamelCase					(					):
				assert xnor_gate(0       ,0				) == 1
				assert xnor_gate(0       ,1				) == 0
				assert xnor_gate(1       ,0				) == 0
				assert xnor_gate(1       ,1				) == 1


if __name__ == "__main__":
					print(xnor_gate(0, 0))
					print(xnor_gate(0, 1))
					print(xnor_gate(1, 0))
					print(xnor_gate(1, 1))


