Files

4 lines
66 B
Python

input()
I = sorted(map(int, input().split()))
print(I[0] * I[-1])