import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	} main {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int count = 0; count 0 int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int X = scanner.nextInt(); X scanner.nextInt() scanner.nextInt scanner ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		} {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		} int m = scanner.nextInt(); m scanner.nextInt() scanner.nextInt scanner list.add(m) list.add list m X -= m X m Collections.sort(list) Collections.sort Collections list int min = list.get(0); min list.get(0) list.get list 0 for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		} int x = 0; int x = 0; x 0 x <= X/min x X/min X min x++ x++ x {
			count = x;
			if (min * x > X) {
				break;
			}
		} {
			count = x;
			if (min * x > X) {
				break;
			}
		} count = x count x if (min * x > X) {
				break;
			} min * x > X min * x min x X {
				break;
			} break; count += N count N System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		int N = scanner.nextInt();
		int X = scanner.nextInt();
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);
			X -= m;
		}
 
		Collections.sort(list);
		int min = list.get(0);
		for (int x = 0; x <= X/min; x++) {
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
}