import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    } 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 donuts[] = new int[n]; donuts new int[n] n int count = 0; count 0 for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            donuts[i] = sc.nextInt();
        } {
            donuts[i] = sc.nextInt();
        } donuts[i] = sc.nextInt() donuts[i] donuts i sc.nextInt() sc.nextInt sc Arrays.sort(donuts) Arrays.sort Arrays donuts for(int value : donuts){
            x -= value;
            count++;
        } int value donuts {
            x -= value;
            count++;
        } {
            x -= value;
            count++;
        } x -= value x value count++ count while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        } x >= donuts[0] x donuts[0] donuts 0 {
            x -= donuts[0];
            count++;
        } x -= donuts[0] x donuts[0] donuts 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int donuts[] = new int[n];
        int count = 0;
        for(int i = 0; i < n ; i++){
            donuts[i] = sc.nextInt();
        }
        Arrays.sort(donuts);
        for(int value : donuts){
            x -= value;
            count++;
        }
        while(x >= donuts[0]){
            x -= donuts[0];
            count++;
        }
        System.out.println(count);
    }
}
