import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    }

    private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    }

    private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    }
} Main private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    } main {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    } String[] str = readLineStandardInput().split(" "); str readLineStandardInput().split(" ") readLineStandardInput().split readLineStandardInput() readLineStandardInput " " int N = Integer.parseInt(str[0]); N Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int X = Integer.parseInt(str[1]); X Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int[] m = new int[N]; m new int[N] N int sum_m = 0; sum_m 0 int mim_m = Integer.MAX_VALUE; mim_m Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        } int i = 0; int i = 0; i 0 i < m.length i m.length m m.length i++ i++ i {
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        } {
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        } String mem = readLineStandardInput(); mem readLineStandardInput() readLineStandardInput m[i] = Integer.parseInt(mem) m[i] m i Integer.parseInt(mem) Integer.parseInt Integer mem sum_m += m[i] sum_m m[i] m i if(m[i] < mim_m){
                mim_m = m[i];
            } m[i] < mim_m m[i] m i mim_m {
                mim_m = m[i];
            } mim_m = m[i] mim_m m[i] m i int ret = X - sum_m; ret X - sum_m X sum_m int num = N + ret / mim_m; num N + ret / mim_m N ret / mim_m ret mim_m System.out.println(num) System.out.println System.out System System.out num String[] args args private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    } readLineStandardInput {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    } String str; str try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        } catch(IOException e){
            str = null;
        } IOException e {
            str = null;
        } str = null str null {
            str = input.readLine();
        } str = input.readLine() str input.readLine() input.readLine input return str; str public class Main {
    private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    }

    private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    }
} public class Main {
    private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    }

    private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) {
        String[] str = readLineStandardInput().split(" ");
        int N = Integer.parseInt(str[0]);
        int X = Integer.parseInt(str[1]);
        int[] m = new int[N];
        int sum_m = 0;
        int mim_m = Integer.MAX_VALUE;
        for(int i = 0; i < m.length; i++){
            String mem = readLineStandardInput();
            m[i] = Integer.parseInt(mem);
            sum_m += m[i];
            if(m[i] < mim_m){
                mim_m = m[i];
            }
        }
        int ret = X - sum_m;
        int num = N + ret / mim_m;
        System.out.println(num);
    }

    private static String readLineStandardInput() {
        String str;
        try {
            str = input.readLine();
        } catch(IOException e){
            str = null;
        }
        return str;
    }
}
