AoC2020/01-1-1.py
2020-12-03 23:48:33 +01:00

3 lines
81 B
Python

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