import java.util.*;

class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);

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

    int n = sc.nextInt();
    int g = sc.nextInt();
    int a[] = new int[n];
    int count = 0;
    int sum = 0;
    for(int i = 0; i < n; i++) {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    }
    Arrays.sort(a);
    System.out.println(count + ((g - sum) / a[0]));
  }
} Main public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    int g = sc.nextInt();
    int a[] = new int[n];
    int count = 0;
    int sum = 0;
    for(int i = 0; i < n; i++) {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    }
    Arrays.sort(a);
    System.out.println(count + ((g - sum) / a[0]));
  } main {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    int g = sc.nextInt();
    int a[] = new int[n];
    int count = 0;
    int sum = 0;
    for(int i = 0; i < n; i++) {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    }
    Arrays.sort(a);
    System.out.println(count + ((g - sum) / a[0]));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int g = sc.nextInt(); g sc.nextInt() sc.nextInt sc int a[] = new int[n]; a new int[n] n int count = 0; count 0 int sum = 0; sum 0 for(int i = 0; i < n; i++) {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    } {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum += a[i] sum a[i] a i count++ count Arrays.sort(a) Arrays.sort Arrays a System.out.println(count + ((g - sum) / a[0])) System.out.println System.out System System.out count + ((g - sum) / a[0]) count ((g - sum) / a[0]) (g - sum) g sum a[0] a 0 String args[] args
import java.util.*;

class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    int g = sc.nextInt();
    int a[] = new int[n];
    int count = 0;
    int sum = 0;
    for(int i = 0; i < n; i++) {
      a[i] = sc.nextInt();
      sum += a[i];
      count++;
    }
    Arrays.sort(a);
    System.out.println(count + ((g - sum) / a[0]));
  }
}
