3 lines
79 B
Python
3 lines
79 B
Python
l=set(map(int,open("/dev/stdin")))
|
|
print([a*b for a in l if (b:=2020-a) in l])
|
l=set(map(int,open("/dev/stdin")))
|
|
print([a*b for a in l if (b:=2020-a) in l])
|