import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	} main {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int a[]=new int[n]; a new int[n] n int sum=0; sum 0 for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    } {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    } a[i]=scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan sum+=a[i] sum a[i] a i scan.close() scan.close scan Arrays.sort(a) Arrays.sort Arrays a System.out.println(n+(x-sum)/a[0]) System.out.println System.out System System.out n+(x-sum)/a[0] n (x-sum)/a[0] (x-sum) x sum a[0] a 0 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	}

} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
	    int n = scan.nextInt();
	    int x = scan.nextInt();
	    int a[]=new int[n];
	    int sum=0;
	    for(int i=0;i<n;i++) {
	    	a[i]=scan.nextInt();
	    	sum+=a[i];
	    }
	    scan.close();

	    Arrays.sort(a);

	    System.out.println(n+(x-sum)/a[0]);
	}

}
