use std::io::*; fn gcd(x: i32, y: i32) -> i32 { if y == 0 { x } else { gcd(y, x % y) } } fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let n: i32 = itr.next().unwrap().parse().unwrap(); let mut ans: i32 = 100; for _ in 0..n { let a: i32 = itr.next().unwrap().parse().unwrap(); ans = gcd(ans, a); } println!("{}", 100 / ans); }