from math import floor

def main():
    input_list = []
    with open("input.txt", 'r') as input_file:
        for line in input_file.readlines():
            input_list.append(int(line))

    sum = 0

    for input in input_list:
        sum += floor(input / 3) - 2
    
    print(f"Sum = {sum}")


if __name__ == "__main__":
    main()
881c4ce762e399570fba2ca72cc36a6af6a5b61a
<mask token>

<mask token>


def main():
    input_list = []
    with open('input.txt', 'r') as input_file:
        for line in input_file.readlines():
            input_list.append(int(line))
    sum = 0
    for input in input_list:
        sum += floor(input / 3) - 2
    print(f'Sum = {sum}')


<mask token>

<mask token>


def main():
    input_list = []
    with open('input.txt', 'r') as input_file:
        for line in input_file.readlines():
            input_list.append(int(line))
    sum = 0
    for input in input_list:
        sum += floor(input / 3) - 2
    print(f'Sum = {sum}')


if __name__ == '__main__':
    main()

from math import floor


def main():
    input_list = []
    with open('input.txt', 'r') as input_file:
        for line in input_file.readlines():
            input_list.append(int(line))
    sum = 0
    for input in input_list:
        sum += floor(input / 3) - 2
    print(f'Sum = {sum}')


if __name__ == '__main__':
    main()

from math import floor

def main():
    input_list = []
    with open("input.txt", 'r') as input_file:
        for line in input_file.readlines():
            input_list.append(int(line))

    sum = 0

    for input in input_list:
        sum += floor(input / 3) - 2
    
    print(f"Sum = {sum}")


if __name__ == "__main__":
    main()