<filename>algorithm/python/BAEKJOON_1037.py
test_case = int(input())

divisor_list = list(map(int, input().split()))
divisor_list.sort()
print(divisor_list[0]*divisor_list[-1])
<filename>algorithm/python/BAEKJOON_1037.py
test_case = int(input())

divisor_list = list(map(int, input().split()))
divisor_list.sort()
print(divisor_list[0]*divisor_list[-1])