import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	} main {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int cnt = sc.nextInt(); cnt sc.nextInt() sc.nextInt sc int amount = sc.nextInt(); amount sc.nextInt() sc.nextInt sc int outCnt = 0; outCnt 0 int min = 0; min 0 for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		} int i=0; int i=0; i 0 i<cnt i cnt i++ i++ i {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		} {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		} int o = sc.nextInt(); o sc.nextInt() sc.nextInt sc outCnt++ outCnt amount -= o amount o if(min > o || min == 0) min = o; min > o || min == 0 min > o min o min == 0 min 0 min = o min o sc.close() sc.close sc outCnt += amount/min outCnt amount/min amount min System.out.println(outCnt) System.out.println System.out System System.out outCnt String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int cnt = sc.nextInt();
		int amount = sc.nextInt();
		int outCnt = 0;
		int min = 0;
		for(int i=0;i<cnt;i++) {
			int o = sc.nextInt();
			outCnt++;
			amount -= o;
			if(min > o || min == 0) min = o;
		}
		sc.close();
		outCnt += amount/min;
		System.out.println(outCnt);
	}
}