






'''simple docstring'''


def 	__magic_name__( _A						,      _A						,      _A						,      _A					):
						'''simple docstring'''





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







def 	__magic_name__( _A						,      _A					):
						'''simple docstring'''





						print("""moving disk from"""						,      _snake_case						,      """to"""						,      _snake_case					)







def 	__magic_name__( ):
						'''simple docstring'''





						UpperCamelCase__         = int(input("""Height of hanoi: """					).strip()					)
						move_tower(_snake_case						,      """A"""						,      """B"""						,      """C"""					)


if __name__ == "__main__":
					main()








'''simple docstring'''


import math







def 	__magic_name__( _A					):
						'''simple docstring'''





						assert isinstance(_A						,      _A					) and (
						    number >= 0
						), "'number' must been an int and positive"

						if 1 < number < 4:
												# 2 and 3 are primes
												return True
						elif number < 2 or not number % 2:
												# Negatives, 0, 1 and all even numbers are not primes
												return False

						UpperCamelCase__         = range(3						,      int(math.sqrt(_A					) + 1					)						,      2					)
						return not any(not number % i for i in odd_numbers					)







def 	__magic_name__( _A						,      _A=1						,      **_A					):
						'''simple docstring'''





						UpperCamelCase__         = factor * value
						UpperCamelCase__         = value

						while not is_prime(_A					):
												value += 1 if not ("desc" in kwargs and kwargs["desc"] is True) else -1

						if value == first_value_val:
												return next_prime(value + 1						,      **_A					)
						return value
