import java.io.IOException;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	}
} Main public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	} main {
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int d_syurui = sc.nextInt(); d_syurui sc.nextInt() sc.nextInt sc int komugi = sc.nextInt(); komugi sc.nextInt() sc.nextInt sc int d_all=0; d_all 0 int[] donatu=new int[d_syurui]; donatu new int[d_syurui] d_syurui for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		} int i=0; int i=0; i 0 i<d_syurui i d_syurui i++ i++ i {
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		} {
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		} String source=sc.next(); source sc.next() sc.next sc source=source.trim() source source.trim() source.trim source donatu[i] = Integer.parseInt(source) donatu[i] donatu i Integer.parseInt(source) Integer.parseInt Integer source d_all+=donatu[i] d_all donatu[i] donatu i int min=999999999; min 999999999 for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		} int i=0; int i=0; i 0 i<d_syurui i d_syurui i++ i++ i {
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		} {
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		} if(min>donatu[i]){
				min=donatu[i];
			}
			else{} min>donatu[i] min donatu[i] donatu i {
				min=donatu[i];
			} min=donatu[i] min donatu[i] donatu i {} komugi=komugi-d_all komugi komugi-d_all komugi d_all int d_kosu=d_syurui+komugi/min; d_kosu d_syurui+komugi/min d_syurui komugi/min komugi min System.out.println(d_kosu) System.out.println System.out System System.out d_kosu String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	}
} public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	}
} Main
import java.io.IOException;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);
		int d_syurui = sc.nextInt();
		int komugi = sc.nextInt();
		int d_all=0;

		int[] donatu=new int[d_syurui];
		for(int i=0; i<d_syurui; i++){
			String source=sc.next();
				source=source.trim();
				donatu[i] = Integer.parseInt(source);
				d_all+=donatu[i];
		}

		int min=999999999;
		for(int i=0; i<d_syurui; i++){
			if(min>donatu[i]){
				min=donatu[i];
			}
			else{}
		}
		komugi=komugi-d_all;

		int d_kosu=d_syurui+komugi/min;

		System.out.println(d_kosu);

	}
}