import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  }

} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  }

} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int[] m = new int[n]; m new int[n] n for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      m[i] = sc.nextInt();
    } {
      m[i] = sc.nextInt();
    } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc int min = m[0]; min m[0] m 0 int sum = m[0]; sum m[0] m 0 for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    } int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    } {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    } if (min > m[i]) {
        min = m[i];
      } min > m[i] min m[i] m i {
        min = m[i];
      } min = m[i] min m[i] m i sum += m[i] sum m[i] m i System.out.println(n + (x - sum) / min) System.out.println System.out System System.out n + (x - sum) / min n (x - sum) / min (x - sum) x sum min String[] args args public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  }

} public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  }

} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    for (int i = 0; i < n; i++) {
      m[i] = sc.nextInt();
    }
    int min = m[0];
    int sum = m[0];
    for (int i = 1; i < n; i++) {
      if (min > m[i]) {
        min = m[i];
      }
      sum += m[i];
    }
    System.out.println(n + (x - sum) / min);
  }

}
