




"""simple docstring"""






def   _snake_case    (       lowercase__	):
				_lowerCamelCase  :    Union[str, Any]					=					int(lowercase__	)
				if n_element < 1:
								_lowerCamelCase  :    List[Any]					=					ValueError('a should be a positive number'	)
								raise my_error

				_lowerCamelCase  :    Union[str, Any]					=					[1]
				_lowerCamelCase,				_lowerCamelCase,				_lowerCamelCase  :    str					=					(0, 0, 0)
				_lowerCamelCase  :    str					=					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__":
			lowercase__  		=		input("""Enter the last number (nth term) of the Hamming Number Series: """)
			print("""Formula of Hamming Number Series => 2^i * 3^j * 5^k""")
			lowercase__  		=		hamming(int(n))
			print("""-----------------------------------------------------""")
			print(F"The list with nth numbers is: {hamming_numbers}")
			print("""-----------------------------------------------------""")





"""simple docstring"""






from __future__ import annotations

lowercase__  		=		10







def   _snake_case    (       lowercase__	):
				_lowerCamelCase  :    List[Any]					=					1
				_lowerCamelCase  :    Optional[int]					=					max(lowercase__	)
				while placement <= max_digit:
								# declare and initialize empty buckets
								_lowerCamelCase  :    list[list]					=					[[] for _ in range(lowercase__	)]
								# split list_of_ints between the buckets
								for i in list_of_ints:
												_lowerCamelCase  :    Dict					=					int((i / placement) % RADIX	)
												buckets[tmp].append(lowercase__	)
								# put each buckets' contents into list_of_ints
								_lowerCamelCase  :    str					=					0
								for b in range(lowercase__	):
												for i in buckets[b]:
																_lowerCamelCase  :    str					=					i
																a += 1
        # move to next
								placement *= RADIX
				return list_of_ints


if __name__ == "__main__":
			import doctest

			doctest.testmod()