import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  } main {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String[] str = in.readLine().split(" "); str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " int n = Integer.parseInt(str[0]); n Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int x = Integer.parseInt(str[1]); x Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int[] m = new int[n]; m new int[n] n int sum = 0; sum 0 int min = 1000; min 1000 for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    } {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    } m[i] = Integer.parseInt(in.readLine()) m[i] m i Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in sum += m[i] sum m[i] m i min = Math.min(min,m[i]) min Math.min(min,m[i]) Math.min Math min 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) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int n = Integer.parseInt(str[0]);
    int x = Integer.parseInt(str[1]);
    int[] m = new int[n];
    int sum = 0;
    int min = 1000;
    for(int i=0; i<n; i++) {
      m[i] = Integer.parseInt(in.readLine());
      sum += m[i];
      min = Math.min(min,m[i]);
    }
    System.out.println(n+((x-sum)/min));
  }
}