

from __future__ import annotations

from fractions import Fraction



def   __UpperCAmelCase					(      __a :     int						,__a :     int      )     ->	bool:

					"""simple docstring"""

					return (
					    num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
					)



def   __UpperCAmelCase					(      __a :     int      )     ->	list[str]:

					"""simple docstring"""

					_a      :       Dict   =						[]
					_a      :       Tuple   =						11
					_a      :       int   =						int('''1''' + '''0''' * digit_len      )
					for num in range(__a						,__a      ):
										while den <= 99:
															if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
																				if is_digit_cancelling(__a						,__a      ):
																									solutions.append(F"""{num}/{den}"""      )
															den += 1
										num += 1
										_a      :       int   =						10
					return solutions



def   __UpperCAmelCase					(      __a :     int = 2      )     ->	int:

					"""simple docstring"""

					_a      :       Union[str, Any]   =						1.0
					for fraction in fraction_list(__a      ):
										_a      :       Any   =						Fraction(__a      )
										result *= frac.denominator / frac.numerator
					return int(__a      )


if __name__ == "__main__":
			print(solution())






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))



