from functools import reduce from math import gcd print(100 // reduce(gcd, [int(input()) for _ in range(int(input()))]))