You are viewing a single comment's thread. Return to all comments →
x = int(input()) - 1 given = list(map(int, input().split(" "))) a = 1 while True: count = 0 for num in given: if num % a == 0: count += 1 if count == x: print(a) break a += 1
Seems like cookies are disabled on this browser, please enable them to open this website
The Chosen One
You are viewing a single comment's thread. Return to all comments →