

def       __snake_case						( __UpperCamelCase	: Union[str, Any]    ):



      """simple docstring"""

      A_						  =				len(__UpperCamelCase    )
      while cur > 1:
            # Find the maximum number in arr
            A_						  =				arr.index(max(arr[0:cur]    )    )
            # Reverse from 0 to mi
            A_						  =				arr[mi::-1] + arr[mi + 1 : len(__UpperCamelCase    )]
            # Reverse whole list
            A_						  =				arr[cur - 1 :: -1] + arr[cur : len(__UpperCamelCase    )]
            cur -= 1
      return arr


if __name__ == "__main__":
      __a    :Optional[Any]      =			input('Enter numbers separated by a comma:\n').strip()
      __a    :List[Any]      =			[int(item) for item in user_input.split(',')]
      print(pancake_sort(unsorted))


def   __UpperCAmelCase					(      __a :     str      )     ->	list:

					"""simple docstring"""

					if n_term == "":
										return []
					_a      :       list   =						[]
					for temp in range(int(__a      )      ):
										series.append(F"""1/{temp + 1}""" if series else '''1'''      )
					return series


if __name__ == "__main__":
			a__												=						input('''Enter the last number (nth term) of the Harmonic Series''')
			print('''Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n''')
			print(harmonic_series(nth_term))



