import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Deque;
import java.util.List;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	}
} import java.io.File; File java.io import java.io.IOException; IOException java.io import java.util.ArrayDeque; ArrayDeque java.util import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.Comparator; Comparator java.util import java.util.Deque; Deque java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	}
} Main public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	} main {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	} 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 sum = 0; sum 0 int min = 1001; min 1001 int[] m = new int[N]; m new int[N] N for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		} {
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc sum += m[i] sum m[i] m i if(m[i] < min) min = m[i]; m[i] < min m[i] m i min min = m[i] min m[i] m i System.out.println((X - sum) / min + N) System.out.println System.out System System.out (X - sum) / min + N (X - sum) / min (X - sum) X sum min N String[] args args public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	}
} public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	}
} Main
import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Deque;
import java.util.List;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 1001;
		int[] m = new int[N];
		for(int i = 0; i < N; i++){
			m[i] = sc.nextInt();
			sum += m[i];
			if(m[i] < min) min = m[i];
		}
		
		System.out.println((X - sum) / min + N);
	}
}