def max_product_from_int_list(arr):
it1 = lst[0]
it2 = lst[1]
l = len(lst)
for i in range(0, l):
for j in range(i + 1, l):
if (lst[i] * lst[j] > it1 * it2):
it1 = lst[i]
it2 = lst[j]
return it1, it2
lst = [3, 9, 1, 3, 7, 0, 8, 4]
tem1 = 0
item2 = 0
item1, item2 = max_product_from_int_list(lst)
print(item1, item2)
'''
run:
9 8
'''