import java.util.Scanner;




public class Main {

    public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    }

    void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    }



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

    public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    }

    void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    }



} Main public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    } main {

    	Main main=new Main();

    	main.run();

    } Main main=new Main(); main new Main() main.run() main.run main String[] args args void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    } run {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    } 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 int sum=0; sum 0 int min=9999; min 9999 for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	} int i=0; int i=0; i 0 i<N i N i++ i++ i {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	} {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	} int buf=sc.nextInt(); buf sc.nextInt() sc.nextInt sc M[i]=buf M[i] M i buf sum+=buf sum buf if(min>buf) {
    			min=buf;
    		} min>buf min buf {
    			min=buf;
    		} min=buf min buf X-=sum X sum int result=N+X/min; result N+X/min N X/min X min System.out.println(result) System.out.println System.out System System.out result public class Main {

    public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    }

    void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    }



} public class Main {

    public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    }

    void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    }



} Main
import java.util.Scanner;




public class Main {

    public static void main(String[] args) {

    	Main main=new Main();

    	main.run();

    }

    void run() {
    	Scanner sc=new Scanner(System.in);

    	int N=sc.nextInt();
    	int X=sc.nextInt();

    	int[] M=new int[N];

    	int sum=0;

    	int min=9999;
    	for(int i=0;i<N;i++) {
    		int buf=sc.nextInt();

    		M[i]=buf;

    		sum+=buf;

    		if(min>buf) {
    			min=buf;
    		}

    	}

    	X-=sum;

    	int result=N+X/min;

    	System.out.println(result);
    }



}

