


"""simple docstring"""




import os

def        lowercase							(		) ->      Union[str, Any]:
		__a           =			os.path.dirname(os.path.realpath(lowerCAmelCase__			)			)
		__a           =			os.path.join(lowerCAmelCase__    ,					'''triangle.txt'''			)

		with open(lowerCAmelCase__			) as f:
				__a           =			f.readlines()

		__a           =			[]
		for line in triangle:
				__a           =			[]
				for number in line.strip().split(''' '''			):
						numbers_from_line.append(int(lowerCAmelCase__			)			)
				a.append(lowerCAmelCase__			)

		for i in range(1    ,					len(lowerCAmelCase__			)			):
				for j in range(len(a[i]			)			):
						__a           =			a[i - 1][j] if j != len(a[i - 1]			) else 0
						__a           =			a[i - 1][j - 1] if j > 0 else 0
						a[i][j] += max(lowerCAmelCase__    ,					lowerCAmelCase__			)
		return max(a[-1]			)


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










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






