import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt(); //N種類のドーナツがある
    int X = sc.nextInt(); //Xgの粉を持っている
    int[] m = new int[N];
    int amount = 0;
    
    for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    }
    
    int min = m[0];
    for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    }
    
    int last = (X-amount)/min;
    System.out.println(N+last);
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt(); //N種類のドーナツがある
    int X = sc.nextInt(); //Xgの粉を持っている
    int[] m = new int[N];
    int amount = 0;
    
    for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    }
    
    int min = m[0];
    for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    }
    
    int last = (X-amount)/min;
    System.out.println(N+last);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt(); //N種類のドーナツがある
    int X = sc.nextInt(); //Xgの粉を持っている
    int[] m = new int[N];
    int amount = 0;
    
    for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    }
    
    int min = m[0];
    for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    }
    
    int last = (X-amount)/min;
    System.out.println(N+last);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt(); //N種類のドーナツがある
    int X = sc.nextInt(); //Xgの粉を持っている
    int[] m = new int[N];
    int amount = 0;
    
    for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    }
    
    int min = m[0];
    for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    }
    
    int last = (X-amount)/min;
    System.out.println(N+last);
  } 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[] m = new int[N]; m new int[N] N int amount = 0; amount 0 for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      m[i] = sc.nextInt();
      amount += m[i];
    } {
      m[i] = sc.nextInt();
      amount += m[i];
    } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc amount += m[i] amount m[i] m i int min = m[0]; min m[0] m 0 for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    } int j=1; int j=1; j 1 j<N j N j++ j++ j {
      if(m[j]<min){
        min = m[j];
      }
    } {
      if(m[j]<min){
        min = m[j];
      }
    } if(m[j]<min){
        min = m[j];
      } m[j]<min m[j] m j min {
        min = m[j];
      } min = m[j] min m[j] m j int last = (X-amount)/min; last (X-amount)/min (X-amount) X amount min System.out.println(N+last) System.out.println System.out System System.out N+last N last String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt(); //N種類のドーナツがある
    int X = sc.nextInt(); //Xgの粉を持っている
    int[] m = new int[N];
    int amount = 0;
    
    for(int i=0;i<N;i++){
      m[i] = sc.nextInt();
      amount += m[i];
    }
    
    int min = m[0];
    for(int j=1;j<N;j++){
      if(m[j]<min){
        min = m[j];
      }
    }
    
    int last = (X-amount)/min;
    System.out.println(N+last);
  }
}