


'''simple docstring'''
from statistics import mean, stdev

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							min(__UpperCamelCase		)
     _A				=							max(__UpperCamelCase		)
     # normalize data
     return [round((x - x_min) / (x_max - x_min)							,    __UpperCamelCase		) for x in data]

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							mean(__UpperCamelCase		)
     _A				=							stdev(__UpperCamelCase		)
     # standardize data
     return [round((x - mu) / (sigma)							,    __UpperCamelCase		) for x in data]









'''simple docstring'''
def 					lowerCamelCase_ ( __UpperCamelCase					:       int		)					->	list:







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

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





