AoC2020/01-1-1.py
2020-12-03 22:34:39 +01:00

3 lines
93 B
Python

l=set(map(int,open("/dev/stdin").readlines()))
print([a*(2020-a) for a in l if 2020-a in l])