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[] m = new int[n];
    int min = Integer.MAX_VALUE;
    for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    }
    int count = m.length;
    while(x >= 0){
      x -= min;
      count++;
    }
    System.out.println(count-1);

    sc.close();
  }
} 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[] m = new int[n];
    int min = Integer.MAX_VALUE;
    for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    }
    int count = m.length;
    while(x >= 0){
      x -= min;
      count++;
    }
    System.out.println(count-1);

    sc.close();
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    int min = Integer.MAX_VALUE;
    for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    }
    int count = m.length;
    while(x >= 0){
      x -= min;
      count++;
    }
    System.out.println(count-1);

    sc.close();
  } main {
    Scanner sc = new Scanner(System.in);
    
    int n = sc.nextInt();
    int x = sc.nextInt();
    int[] m = new int[n];
    int min = Integer.MAX_VALUE;
    for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    }
    int count = m.length;
    while(x >= 0){
      x -= min;
      count++;
    }
    System.out.println(count-1);

    sc.close();
  } 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 min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    } {
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc x -= m[i] x m[i] m i if(min > m[i]){
        min = m[i];
      } min > m[i] min m[i] m i {
        min = m[i];
      } min = m[i] min m[i] m i int count = m.length; count m.length m m.length while(x >= 0){
      x -= min;
      count++;
    } x >= 0 x 0 {
      x -= min;
      count++;
    } x -= min x min count++ count System.out.println(count-1) System.out.println System.out System System.out count-1 count 1 sc.close() sc.close sc 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[] m = new int[n];
    int min = Integer.MAX_VALUE;
    for(int i=0; i<n; i++){
      m[i] = sc.nextInt();
      x -= m[i];
      if(min > m[i]){
        min = m[i];
      }
    }
    int count = m.length;
    while(x >= 0){
      x -= min;
      count++;
    }
    System.out.println(count-1);

    sc.close();
  }
}
