import java.util.*;
import java.util.ArrayList;
import java.util.List;

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  }
} import java.util.*; util.* java import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  } main {
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int min = 9999999; min 9999999 int needPowder = 0; needPowder 0 int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int powder = sc.nextInt(); powder sc.nextInt() sc.nextInt sc for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    } {
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    } int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc needPowder += tmp needPowder tmp if(tmp < min){
        min = tmp;
      } tmp < min tmp min {
        min = tmp;
      } min = tmp min tmp System.out.println(n + ((powder - needPowder) / min)) System.out.println System.out System System.out n + ((powder - needPowder) / min) n ((powder - needPowder) / min) (powder - needPowder) powder needPowder min String[] args args public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  }
} public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  }
} Main
import java.util.*;
import java.util.ArrayList;
import java.util.List;

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);    

    int min = 9999999;
    int needPowder = 0;
    int n = sc.nextInt();
    int powder = sc.nextInt();
    
    for(int i = 0; i < n; i++){
      int tmp = sc.nextInt();
      needPowder += tmp;
      
      if(tmp < min){
        min = tmp;
      }
    }
    
    System.out.println(n + ((powder - needPowder) / min));
  }
}
