import java.util.*;

class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
        int kona = Integer.parseInt(sc.next());
    	int dounatu [] = new int [N];
      
      for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      }
		Arrays.sort(dounatu);
      System.out.print(N+kona/dounatu[0]);
	    
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
        int kona = Integer.parseInt(sc.next());
    	int dounatu [] = new int [N];
      
      for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      }
		Arrays.sort(dounatu);
      System.out.print(N+kona/dounatu[0]);
	    
    }
} Main public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
        int kona = Integer.parseInt(sc.next());
    	int dounatu [] = new int [N];
      
      for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      }
		Arrays.sort(dounatu);
      System.out.print(N+kona/dounatu[0]);
	    
    } main {
      
      Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
        int kona = Integer.parseInt(sc.next());
    	int dounatu [] = new int [N];
      
      for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      }
		Arrays.sort(dounatu);
      System.out.print(N+kona/dounatu[0]);
	    
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int kona = Integer.parseInt(sc.next()); kona Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int dounatu [] = new int [N]; dounatu new int [N] N for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      } int i=0; int i=0; i 0 i<N i N i++ i++ i {
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      } {
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      } dounatu[i] = Integer.parseInt(sc.next()) dounatu[i] dounatu i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc kona = kona-dounatu[i] kona kona-dounatu[i] kona dounatu[i] dounatu i Arrays.sort(dounatu) Arrays.sort Arrays dounatu System.out.print(N+kona/dounatu[0]) System.out.print System.out System System.out N+kona/dounatu[0] N kona/dounatu[0] kona dounatu[0] dounatu 0 String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
        int kona = Integer.parseInt(sc.next());
    	int dounatu [] = new int [N];
      
      for(int i=0;i<N;i++){
		dounatu[i] = Integer.parseInt(sc.next());
        kona = kona-dounatu[i];
      }
		Arrays.sort(dounatu);
      System.out.print(N+kona/dounatu[0]);
	    
    }
}