boxes = open('day2.txt', 'r').readlines()
searcher = lambda x, i: any([True for letter in "abcdefghijklmnopqrstuvwxyz" if x.count(letter) == i])
twos = list(filter(lambda x: searcher(x, 2), boxes))
threes = list(filter(lambda x: searcher(x, 3), boxes))
print(len(threes) * len(twos))
f14450cb7c0f493822293ab5bbb910e48d88b9c2
<mask token>

<mask token>
print(len(threes) * len(twos))

boxes = open('day2.txt', 'r').readlines()
searcher = lambda x, i: any([(True) for letter in
    'abcdefghijklmnopqrstuvwxyz' if x.count(letter) == i])
twos = list(filter(lambda x: searcher(x, 2), boxes))
threes = list(filter(lambda x: searcher(x, 3), boxes))
print(len(threes) * len(twos))

boxes = open('day2.txt', 'r').readlines()
searcher = lambda x, i: any([True for letter in "abcdefghijklmnopqrstuvwxyz" if x.count(letter) == i])
twos = list(filter(lambda x: searcher(x, 2), boxes))
threes = list(filter(lambda x: searcher(x, 3), boxes))
print(len(threes) * len(twos))