import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] sa = br.readLine().split(" "); int n = Integer.parseInt(sa[0]); int d = Integer.parseInt(sa[1]); br.readLine(); sa = br.readLine().split(" "); long sum = 0; for (int i = 0; i < n; i++) { sum += Integer.parseInt(sa[i]); } br.close(); System.out.println((d + sum - 1) / sum); } }