


def data():
    t = 0
    with open("list.txt", "r") as f:
        for line in f:
            if line.strip():
                t += calc(int(line, 10))
    print("total: {}".format(t))

def calc(mass):
    return mass // 3 - 2

def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()

main()


8a6b9f58642b1c2a970a2cafbf0f069abde40d72
<mask token>


def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()


<mask token>

def data():
    t = 0
    with open('list.txt', 'r') as f:
        for line in f:
            if line.strip():
                t += calc(int(line, 10))
    print('total: {}'.format(t))


<mask token>


def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()


<mask token>

def data():
    t = 0
    with open('list.txt', 'r') as f:
        for line in f:
            if line.strip():
                t += calc(int(line, 10))
    print('total: {}'.format(t))


def calc(mass):
    return mass // 3 - 2


def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()


<mask token>

def data():
    t = 0
    with open('list.txt', 'r') as f:
        for line in f:
            if line.strip():
                t += calc(int(line, 10))
    print('total: {}'.format(t))


def calc(mass):
    return mass // 3 - 2


def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()


main()




def data():
    t = 0
    with open("list.txt", "r") as f:
        for line in f:
            if line.strip():
                t += calc(int(line, 10))
    print("total: {}".format(t))

def calc(mass):
    return mass // 3 - 2

def main():
    print(calc(12))
    print(calc(14))
    print(calc(1969))
    print(calc(100756))
    data()

main()

