import 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  }

} import java.util.*; util.* java 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  }

} 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  } 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  } 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();
      x -= m[i];
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      m[i] = sc.nextInt();
      x -= m[i];
    } {
      m[i] = sc.nextInt();
      x -= m[i];
    } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc x -= m[i] x m[i] m i Arrays.sort(m) Arrays.sort Arrays m int count = 0; count 0 while (x >= m[0]) {
      x -= m[0];
      count++;
    } x >= m[0] x m[0] m 0 {
      x -= m[0];
      count++;
    } x -= m[0] x m[0] m 0 count++ count System.out.println(n+count) System.out.println System.out System System.out n+count n count 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  }

} 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  }

} Main
import 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();
      x -= m[i];
    }

    Arrays.sort(m);

    int count = 0;

    while (x >= m[0]) {
      x -= m[0];
      count++;
    }

    System.out.println(n+count);

  }

}
