import java.util.*;

public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  }
} Main public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  } main {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int type   = sc.nextInt(); type sc.nextInt() sc.nextInt sc int powder = sc.nextInt(); powder sc.nextInt() sc.nextInt sc int mini   = 0; mini 0 int count = 0; count 0 for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    } int i = 0 ; int i = 0 ; i 0 i < type i type i++ i++ i {
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    } {
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    } int temp = sc.nextInt(); temp sc.nextInt() sc.nextInt sc powder -= temp powder temp if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;} mini == 0 mini 0 {mini=temp;} mini=temp mini temp if(mini > temp){mini=temp;} mini > temp mini temp {mini=temp;} mini=temp mini temp while(mini <= powder){
      powder -= mini;
      count++;
    } mini <= powder mini powder {
      powder -= mini;
      count++;
    } powder -= mini powder mini count++ count System.out.println(count + type) System.out.println System.out System System.out count + type count type String[] args args public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  }
} public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) throws Exception {
    Scanner sc = new Scanner(System.in);
    int type   = sc.nextInt(); //ドーナツ種類
    int powder = sc.nextInt(); //粉
    int mini   = 0;            //一番小さいドーナツ
    int count = 0;
    
    for(int i = 0 ; i < type ; i++){
      int temp = sc.nextInt();
      powder -= temp;
      if(mini == 0){mini=temp;}
      else if(mini > temp){mini=temp;}
    }
    
    while(mini <= powder){
      powder -= mini;
      count++;
    }
    System.out.println(count + type);
  }
}
