3 lines
99 B
Python
3 lines
99 B
Python
l=list(map(int,open("/dev/stdin")))
|
|
print([a*b*c for a in l for b in l for c in l if a+b+c==2020])
|