import java.util.*;
class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt(); //種類数
    int x = sc.nextInt(); //総合の材料
    int[] param = new int[n];
    
     int sum = 0; //まず最低限必要な材料
    
    for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    }
    
    int min = x;
    for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    }
    int num = (x-sum)/min;
    System.out.println(n+num);
  }
} import java.util.*; util.* java class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt(); //種類数
    int x = sc.nextInt(); //総合の材料
    int[] param = new int[n];
    
     int sum = 0; //まず最低限必要な材料
    
    for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    }
    
    int min = x;
    for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    }
    int num = (x-sum)/min;
    System.out.println(n+num);
  }
} Main public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt(); //種類数
    int x = sc.nextInt(); //総合の材料
    int[] param = new int[n];
    
     int sum = 0; //まず最低限必要な材料
    
    for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    }
    
    int min = x;
    for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    }
    int num = (x-sum)/min;
    System.out.println(n+num);
  } main {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt(); //種類数
    int x = sc.nextInt(); //総合の材料
    int[] param = new int[n];
    
     int sum = 0; //まず最低限必要な材料
    
    for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    }
    
    int min = x;
    for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    }
    int num = (x-sum)/min;
    System.out.println(n+num);
  } 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[] param = new int[n]; param new int[n] n int sum = 0; sum 0 for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    } int i=0 ; int i=0 ; i 0 i<n i n i++ i++ i {
      param[i] = sc.nextInt();
      sum += param[i];
    } {
      param[i] = sc.nextInt();
      sum += param[i];
    } param[i] = sc.nextInt() param[i] param i sc.nextInt() sc.nextInt sc sum += param[i] sum param[i] param i int min = x; min x for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    } int i=0 ; int i=0 ; i 0 i<n i n i++ i++ i {
      if(param[i]<=min){
        min = param[i];
      }
    } {
      if(param[i]<=min){
        min = param[i];
      }
    } if(param[i]<=min){
        min = param[i];
      } param[i]<=min param[i] param i min {
        min = param[i];
      } min = param[i] min param[i] param i int num = (x-sum)/min; num (x-sum)/min (x-sum) x sum min System.out.println(n+num) System.out.println System.out System System.out n+num n num String[] args args
import java.util.*;
class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt(); //種類数
    int x = sc.nextInt(); //総合の材料
    int[] param = new int[n];
    
     int sum = 0; //まず最低限必要な材料
    
    for(int i=0 ; i<n ; i++){
      param[i] = sc.nextInt();
      sum += param[i];
    }
    
    int min = x;
    for(int i=0 ; i<n ; i++){
      if(param[i]<=min){
        min = param[i];
      }
    }
    int num = (x-sum)/min;
    System.out.println(n+num);
  }
}