def part_two():
    numDays = 256
    fishesDict = {}
    for i in range(9):
        fishesDict[i] = 0
        fishesDict[i] = data.count(i)
    for day in range(numDays):
        newFishesDict = {}
        for i in range(9):
            newFishesDict[i] = 0
        holder = 0
        for i in fishesDict:
            if (i == 0):
                holder += fishesDict[0]
            else:
                newFishesDict[(i - 1)] = fishesDict[i]
        newFishesDict[6] += holder
        newFishesDict[8] += holder
        fishesDict = newFishesDict
    numFishes = 0
    for i in range(9):
        numFishes += fishesDict[i]
    return numFishes
def part_two():
    numDays = 256
    fishesDict = {}
    for i in range(9):
        fishesDict[i] = 0
        fishesDict[i] = data.count(i)
    for day in range(numDays):
        newFishesDict = {}
        for i in range(9):
            newFishesDict[i] = 0
        holder = 0
        for i in fishesDict:
            if (i == 0):
                holder += fishesDict[0]
            else:
                newFishesDict[(i - 1)] = fishesDict[i]
        newFishesDict[6] += holder
        newFishesDict[8] += holder
        fishesDict = newFishesDict
    numFishes = 0
    for i in range(9):
        numFishes += fishesDict[i]
    return numFishes