import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  } main {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int powder = sc.nextInt(); powder sc.nextInt() sc.nextInt sc int[] donuts = new int[num]; donuts new int[num] num for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    } int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    } {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    } donuts[i] = sc.nextInt() donuts[i] donuts i sc.nextInt() sc.nextInt sc powder -= donuts[i] powder donuts[i] donuts i Arrays.sort(donuts) Arrays.sort Arrays donuts System.out.println(num + powder / donuts[0]) System.out.println System.out System System.out num + powder / donuts[0] num powder / donuts[0] powder donuts[0] donuts 0 String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  }
} Main
import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int powder = sc.nextInt();
    int[] donuts = new int[num];
    for (int i = 0; i < num; i++) {
      donuts[i] = sc.nextInt();
      powder -= donuts[i];
    }
    Arrays.sort(donuts);
    System.out.println(num + powder / donuts[0]);
    
  }
}