import 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 Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  }  
} import java.util.*; util.* java public class Main{
  
  public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    
    int N = sc.nextInt();
    int X = sc.nextInt();
    
    int Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  }  
} Main public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    
    int N = sc.nextInt();
    int X = sc.nextInt();
    
    int Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  } main {
    
    Scanner sc = new Scanner(System.in);
    
    int N = sc.nextInt();
    int X = sc.nextInt();
    
    int Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  } 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 Max = 0; Max 0 int[] list = new int[N]; list new int[N] N for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    } int i = 0 ; int i = 0 ; i 0 i < N i N i++ i++ i {
      list[i] = sc.nextInt();
      Max += list[i];
    } {
      list[i] = sc.nextInt();
      Max += list[i];
    } list[i] = sc.nextInt() list[i] list i sc.nextInt() sc.nextInt sc Max += list[i] Max list[i] list i if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    } Max <= X Max X {
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    } int Min = list[0]; Min list[0] list 0 for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       } int i = 0 ; int i = 0 ; i 0 i < N i N i++ i++ i {
            if(list[i] < Min){
              Min = list[i];
            }
       } {
            if(list[i] < Min){
              Min = list[i];
            }
       } if(list[i] < Min){
              Min = list[i];
            } list[i] < Min list[i] list i Min {
              Min = list[i];
            } Min = list[i] Min list[i] list i int ans1 = X -Max; ans1 X -Max X Max int ans2 = ans1 / Min; ans2 ans1 / Min ans1 Min System.out.println(ans2 + N) System.out.println System.out System System.out ans2 + N ans2 N {
      System.out.println("ドーナツを全種類作ることは不可能です");  
    } System.out.println("ドーナツを全種類作ることは不可能です") System.out.println System.out System System.out "ドーナツを全種類作ることは不可能です" 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 Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  }  
} public class Main{
  
  public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    
    int N = sc.nextInt();
    int X = sc.nextInt();
    
    int Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  }  
} Main
import 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 Max = 0;
    int[] list = new int[N];
    for(int i = 0 ; i < N; i++){
      list[i] = sc.nextInt();
      Max += list[i];
    }
    
    if(Max <= X){
      int Min = list[0];
       for(int i = 0 ; i < N; i++){
            if(list[i] < Min){
              Min = list[i];
            }
       }
      int ans1 = X -Max;
      int ans2 = ans1 / Min;
      
      System.out.println(ans2 + N);  
      
    }else{
      System.out.println("ドーナツを全種類作ることは不可能です");  
    }
    
  }  
}