xs=readlines.map(&:to_i)[1..-1] (1..100).each{|m| t=1 xs.each{|x|t=$\ if x*m/100*100!=x*m} exit(0*p(m))if t }