4 lines
66 B
Python
4 lines
66 B
Python
input()
|
|
I = sorted(map(int, input().split()))
|
|
print(I[0] * I[-1])
|
input()
|
|
I = sorted(map(int, input().split()))
|
|
print(I[0] * I[-1])
|