



"""simple docstring"""
def    A_  (			_lowercase = 3,					_lowercase = 7,					_lowercase = 1000000	):







						'''simple docstring'''


						snake_case_ :List[Any]						=			0
						snake_case_ :Any						=			1

						for current_denominator in range(1,					limit + 1	):
												snake_case_ :int						=			current_denominator * numerator // denominator
												if current_denominator % denominator == 0:
																		current_numerator -= 1
												if current_numerator * max_denominator > current_denominator * max_numerator:
																		snake_case_ :List[str]						=			current_numerator
																		snake_case_ :Any						=			current_denominator
						return max_numerator


if __name__ == "__main__":
						print(solution(numerator=3, denominator=7, limit=1_00_00_00))




"""simple docstring"""




def        lowercase							(		lowerCAmelCase__ :     str			) ->      list:
		if n_term == "":
				return []
		__a           =			[]
		for temp in range(int(lowerCAmelCase__			)			):
				series.append(f'''1/{temp + 1}''' if series else '''1'''			)
		return series


if __name__ == "__main__":
				lowercase_			     =  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))






