import math from functools import reduce n=int(input()) l=[int(input()) for _ in [0]*n] print(100//reduce(math.gcd,l))