import java.util.*;

public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    }
    
    private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    }
    
    private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    }
} Main public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    } main {	
	Main main = new Main();
    	main.solveB();
    } Main main = new Main(); main new Main() main.solveB() main.solveB main String[] args args private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    } solveA {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int top = 0; top 0 for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	} int i=0; int i=0; i 0 i < 3 i 3 i++ i++ i {
	    if (s.charAt(i) == 'o') top += 100;
	} {
	    if (s.charAt(i) == 'o') top += 100;
	} if (s.charAt(i) == 'o') top += 100; s.charAt(i) == 'o' s.charAt(i) s.charAt s i 'o' top += 100 top 100 System.out.println(700 + top) System.out.println System.out System System.out 700 + top 700 top private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    } solveB {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    } 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 cnt = 0; cnt 0 int[] m = new int[n]; m new int[n] n for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	} int i=0; int i=0; i 0 i < n i n i++ i++ i {
	    m[i] = sc.nextInt();	    
	} {
	    m[i] = sc.nextInt();	    
	} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc Arrays.sort(m) Arrays.sort Arrays m for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	} int i=0; int i=0; i 0 i < n i n i++ i++ i {
	    x -= m[i];
	    cnt++;
	} {
	    x -= m[i];
	    cnt++;
	} x -= m[i] x m[i] m i cnt++ cnt System.out.println(cnt + x/m[0]) System.out.println System.out System System.out cnt + x/m[0] cnt x/m[0] x m[0] m 0 public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    }
    
    private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    }
} public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    }
    
    private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveB();
    }
    
    private void solveA() {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
	int top = 0;

	for(int i=0; i < 3; i++){
	    if (s.charAt(i) == 'o') top += 100;
	}
	
    	System.out.println(700 + top);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
    	int x = sc.nextInt();
	int cnt = 0;

	int[] m = new int[n];

	for(int i=0; i < n; i++){
	    m[i] = sc.nextInt();	    
	}

	Arrays.sort(m);

	for(int i=0; i < n; i++){
	    x -= m[i];
	    cnt++;
	}

	System.out.println(cnt + x/m[0]);
    }
}