






def      a_ (      _A  )			->			list:







				"""simple docstring"""
				snake_case__									=     int(_A  )
				if n_element < 1:
								snake_case__									=     ValueError('a should be a positive number'  )
								raise my_error

				snake_case__									=     [1]
				snake_case__							,						snake_case__							,						snake_case__									=     (0, 0, 0)
				snake_case__									=     1
				while index < n_element:
								while hamming_list[i] * 2 <= hamming_list[-1]:
												i += 1
								while hamming_list[j] * 3 <= hamming_list[-1]:
												j += 1
								while hamming_list[k] * 5 <= hamming_list[-1]:
												k += 1
								hamming_list.append(
								    min(hamming_list[i] * 2      ,   hamming_list[j] * 3      ,   hamming_list[k] * 5  )  )
								index += 1
				return hamming_list


if __name__ == "__main__":
							__UpperCamelCase					:		int	  =						input("""Enter the last number (nth term) of the Hamming Number Series: """)
							print("""Formula of Hamming Number Series => 2^i * 3^j * 5^k""")
							__UpperCamelCase					:		int	  =						hamming(int(n))
							print("""-----------------------------------------------------""")
							print(f'''The list with nth numbers is: {hamming_numbers}''')
							print("""-----------------------------------------------------""")








from argparse import ArgumentParser

from .env import EnvironmentCommand
def      a_ (      )			->			Optional[Any]:







				"""simple docstring"""
				snake_case__									=     ArgumentParser('Diffusers CLI tool'      ,   usage='diffusers-cli <command> [<args>]'  )
				snake_case__									=     parser.add_subparsers(help='diffusers-cli command helpers'  )

				# Register commands
				EnvironmentCommand.register_subcommand(_A  )

				# Let's go
				snake_case__									=     parser.parse_args()

				if not hasattr(_A      ,   'func'  ):
								parser.print_help()
								exit(1  )

				# Run
				snake_case__									=     args.func(_A  )
				service.run()


if __name__ == "__main__":
							main()




