repositorium/main.py

13 lines
161 B
Python
Raw Permalink Normal View History

2024-12-03 18:00:41 +01:00
a = int(input())
b = []
for i in range(a):
c = int(input())
b.append(c)
m1 = min(b)
m2 = max(b)
wyn = m1 * m2
print(wyn)