#didn't do part two yet

from collections import Counter

def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input

data = get_input().splitlines()

data_sorted = []
data_sorted.append(0)
for i in data:
    data_sorted.append(int(i))

ds = sorted(data_sorted)

def part_one():
    diffs = []
    
    for j in range(len(ds)-1):
        diff = ds[j+1] - ds[j]
        diffs.append(diff)

    #last adapter has +3 capacity
    diffs.append(3)

    counts = Counter(diffs)
    print(counts)
    
def part_two():
    pass
    
#part_one()
part_two() 

e5ac67ddca60bf87a0bb41f1a944d693168967b3
<mask token>


def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input


<mask token>


def part_one():
    diffs = []
    for j in range(len(ds) - 1):
        diff = ds[j + 1] - ds[j]
        diffs.append(diff)
    diffs.append(3)
    counts = Counter(diffs)
    print(counts)


def part_two():
    pass


<mask token>

<mask token>


def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input


<mask token>
data_sorted.append(0)
for i in data:
    data_sorted.append(int(i))
<mask token>


def part_one():
    diffs = []
    for j in range(len(ds) - 1):
        diff = ds[j + 1] - ds[j]
        diffs.append(diff)
    diffs.append(3)
    counts = Counter(diffs)
    print(counts)


def part_two():
    pass


part_two()

<mask token>


def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input


data = get_input().splitlines()
data_sorted = []
data_sorted.append(0)
for i in data:
    data_sorted.append(int(i))
ds = sorted(data_sorted)


def part_one():
    diffs = []
    for j in range(len(ds) - 1):
        diff = ds[j + 1] - ds[j]
        diffs.append(diff)
    diffs.append(3)
    counts = Counter(diffs)
    print(counts)


def part_two():
    pass


part_two()

from collections import Counter


def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input


data = get_input().splitlines()
data_sorted = []
data_sorted.append(0)
for i in data:
    data_sorted.append(int(i))
ds = sorted(data_sorted)


def part_one():
    diffs = []
    for j in range(len(ds) - 1):
        diff = ds[j + 1] - ds[j]
        diffs.append(diff)
    diffs.append(3)
    counts = Counter(diffs)
    print(counts)


def part_two():
    pass


part_two()

#didn't do part two yet

from collections import Counter

def get_input():
    with open('input.txt', 'r') as input_file:
        input = input_file.read()
    return input

data = get_input().splitlines()

data_sorted = []
data_sorted.append(0)
for i in data:
    data_sorted.append(int(i))

ds = sorted(data_sorted)

def part_one():
    diffs = []
    
    for j in range(len(ds)-1):
        diff = ds[j+1] - ds[j]
        diffs.append(diff)

    #last adapter has +3 capacity
    diffs.append(3)

    counts = Counter(diffs)
    print(counts)
    
def part_two():
    pass
    
#part_one()
part_two() 
