import java.util.*;
public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
}} 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 m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
}} Main public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
} main {
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int m=sc.nextInt(); m sc.nextInt() sc.nextInt sc int po[]=new int[n]; po new int[n] n for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  } int i=0; int i=0; i 0 i<n i n i++ i++ i {
    po[i]=sc.nextInt();
    m-=po[i];
  } {
    po[i]=sc.nextInt();
    m-=po[i];
  } po[i]=sc.nextInt() po[i] po i sc.nextInt() sc.nextInt sc m-=po[i] m po[i] po i Arrays.sort(po) Arrays.sort Arrays po System.out.println(n+m/po[0]) System.out.println System.out System System.out n+m/po[0] n m/po[0] m po[0] po 0 String[]args args public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
}} public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
}} Main
import java.util.*;
public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int n=sc.nextInt();int m=sc.nextInt();
	int po[]=new int[n];
  for(int i=0;i<n;i++){
    po[i]=sc.nextInt();
    m-=po[i];
  }
  Arrays.sort(po);
  System.out.println(n+m/po[0]);
}}