import java.util.Scanner;
public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
}
} import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
}
} Main public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
} main {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan int min=1145148101; min 1145148101 for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	} int i=0; int i=0; i 0 i!=a i a i++ i++ i {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	} {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	} int d=scan.nextInt(); d scan.nextInt() scan.nextInt scan b-=d b d if(min>d) {
			min=d;
		} min>d min d {
			min=d;
		} min=d min d System.out.println(a+(b/min)) System.out.println System.out System System.out a+(b/min) a (b/min) b min String[]srgs srgs public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
}
} public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
}
} Main
import java.util.Scanner;
public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	int min=1145148101;
	for(int i=0;i!=a;i++) {
		int d=scan.nextInt();
		b-=d;
		if(min>d) {
			min=d;
		}
	}
	System.out.println(a+(b/min));
}
}