import java.util.*;

public class Main {
	public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	}
} Main public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	} 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 ming = 1000; ming 1000 for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		} {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc X -= m X m if(m < ming) {
				ming = m;
			} m < ming m ming {
				ming = m;
			} ming = m ming m System.out.println(N+X/ming) System.out.println System.out System System.out N+X/ming N X/ming X ming String[] arg arg public class Main {
	public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	}
} public class Main {
	public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] arg) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int ming = 1000;
		
		for(int i=0;i<N;i++) {
			int m = sc.nextInt();
			X -= m;
			if(m < ming) {
				ming = m;
			}
		}
		System.out.println(N+X/ming);
	}
}
