import math from functools import reduce def gcd_list(numbers): return reduce(math.gcd, numbers) n = int(input()) l = [int(input()) for _ in range(n)] x = gcd_list(l) y = 100 // x print(y)