Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = []
- n = int(input())
- min_k = 100000000000
- min_k2 = 10000000
- min_nk = 100001
- min_mull = 1001*1001
- for i in range(7):
- a.append(int(input()))
- for k in range(7, n):
- num = int(input())
- if (a[0] % 2 == 0) and (a[0] < min_nk):
- min_nk = a[0]
- if (min_nk * num) < min_mull and (min_nk * num) % 2 == 0:
- min_mull = min_nk * num
- for x in range(0, 6):
- a[x] = a[x+1]
- print(min_mull)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement