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