""" Part 1 """ print("Hello World!") file = open("input/input", "r") MAXIMUM = 0 current = 0 for line in file.readlines(): line = line.strip() if line == "": # print("NEXT ELF") if current >= MAXIMUM: MAXIMUM = current current = 0 else: line = int(line) current += line # print(line) if current >= MAXIMUM: MAXIMUM = current print(MAXIMUM)