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