n,*a = map(int,open(0).read().split())
from math import gcd
x = 0
for i in a: x = gcd(i,x)
print(100//x)