import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines import numpy as np A = np.fromstring(read(), np.int64, sep=' ')[1:] answer = 100 // np.gcd.reduce(A) print(answer)