import sys
# from functools import reduce


with open(sys.argv[1], "r") as f:
    sizes = [int(line.split()[-1]) for line in f]
    # sum = reduce(lambda acc, size: acc + size, sizes)
    print("Całkowita liczba bajtów:", sum(sizes))

7452666f39c5802b2fae9df80f1c206d5d77e45b
<mask token>

<mask token>
with open(sys.argv[1], 'r') as f:
    sizes = [int(line.split()[-1]) for line in f]
    print('Całkowita liczba bajtów:', sum(sizes))

import sys
with open(sys.argv[1], 'r') as f:
    sizes = [int(line.split()[-1]) for line in f]
    print('Całkowita liczba bajtów:', sum(sizes))

import sys
# from functools import reduce


with open(sys.argv[1], "r") as f:
    sizes = [int(line.split()[-1]) for line in f]
    # sum = reduce(lambda acc, size: acc + size, sizes)
    print("Całkowita liczba bajtów:", sum(sizes))
