import math n = int(input()) a = [int(input()) for _ in range(n)] gcd = math.gcd(*a) print(100 // gcd)