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[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  }
} 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[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  }
} Main public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int n=sc.nextInt();
    int x=sc.nextInt();
    int[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  } main {
    Scanner sc=new Scanner(System.in);
    int n=sc.nextInt();
    int x=sc.nextInt();
    int[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  } 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[] a=new int[n]; a new int[n] n int b=0; b 0 for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      a[i]=sc.nextInt();
      b+=a[i];
    } {
      a[i]=sc.nextInt();
      b+=a[i];
    } a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc b+=a[i] b a[i] a i Arrays.sort(a) Arrays.sort Arrays a x-=b x b int c=x/a[0]; c x/a[0] x a[0] a 0 System.out.println(n+c) System.out.println System.out System System.out n+c n c 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[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int n=sc.nextInt();
    int x=sc.nextInt();
    int[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  }
} 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[] a=new int[n];
    int b=0;
    for(int i=0;i<n;i++){
      a[i]=sc.nextInt();
      b+=a[i];
    }
    Arrays.sort(a);
    x-=b;
    int c=x/a[0];
    System.out.println(n+c);
  }
}