
'''simple docstring'''







_snake_case				:   List[str]     =				[4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
_snake_case				:   Union[str, Any]     =				[3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
_snake_case				:   Dict     =				{
    0: """Sunday""",
    1: """Monday""",
    2: """Tuesday""",
    3: """Wednesday""",
    4: """Thursday""",
    5: """Friday""",
    6: """Saturday""",
}



def 			_a		(	_SCREAMING_SNAKE_CASE		:   int	,			_SCREAMING_SNAKE_CASE		:   int	,			_SCREAMING_SNAKE_CASE		:   int  ):
						assert len(str(_SCREAMING_SNAKE_CASE  )  ) > 2, "year should be in YYYY format"
						assert 1 <= month <= 12, "month should be between 1 to 12"
						assert 1 <= day <= 31, "day should be between 1 to 31"

						# Doomsday algorithm:
						_SCREAMING_SNAKE_CASE				= year // 100
						_SCREAMING_SNAKE_CASE				= (5 * (century % 4) + 2) % 7
						_SCREAMING_SNAKE_CASE				= year % 100
						_SCREAMING_SNAKE_CASE				= centurian % 12
						_SCREAMING_SNAKE_CASE				= (
						    (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
						) % 7
						_SCREAMING_SNAKE_CASE				= (
						    DOOMSDAY_NOT_LEAP[month - 1]
						    if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
						    else DOOMSDAY_LEAP[month - 1]
						)
						_SCREAMING_SNAKE_CASE				= (dooms_day + day - day_anchor) % 7
						return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
						import doctest

						doctest.testmod()

'''simple docstring'''







def 			_a		(	_SCREAMING_SNAKE_CASE		:   int  ):
						_SCREAMING_SNAKE_CASE				= int(_SCREAMING_SNAKE_CASE  )
						if n_element < 1:
												_SCREAMING_SNAKE_CASE				= ValueError("a should be a positive number"  )
												raise my_error

						_SCREAMING_SNAKE_CASE				= [1]
						_SCREAMING_SNAKE_CASE,							_SCREAMING_SNAKE_CASE,							_SCREAMING_SNAKE_CASE				= (0, 0, 0)
						_SCREAMING_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__":
						_snake_case				:   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""")
						_snake_case				:   str     =				hamming(int(n))
						print("""-----------------------------------------------------""")
						print(F"The list with nth numbers is: {hamming_numbers}")
						print("""-----------------------------------------------------""")