use std::io; fn main() { let mut nd = String::new(); io::stdin().read_line(&mut nd).ok(); let nd: Vec = nd.trim().split_whitespace().map(|e| e.parse() .ok().unwrap()).collect(); let mut x = String::new(); io::stdin().read_line(&mut x).ok(); let mut v = String::new(); io::stdin().read_line(&mut v).ok(); let v: Vec = v.trim().split_whitespace().map(|e| e.parse() .ok().unwrap()).collect(); let sum: u64 = v.iter().sum(); let ans = if nd[1] % sum == 0 {nd[1] / sum } else {nd[1] / sum + 1}; println!("{}", ans); }