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

public class Main {
    public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

} Main public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    } main {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    } try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String strArr[] = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int n = Integer.parseInt(strArr[0]); n Integer.parseInt(strArr[0]) Integer.parseInt Integer strArr[0] strArr 0 int x = Integer.parseInt(strArr[1]); x Integer.parseInt(strArr[1]) Integer.parseInt Integer strArr[1] strArr 1 int min = -1; min -1 1 for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            } {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            } int temp = Integer.parseInt(br.readLine()); temp Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br x -= temp x temp if (min == -1 || min > temp) {
                    min = temp;
                } min == -1 || min > temp min == -1 min -1 1 min > temp min temp {
                    min = temp;
                } min = temp min temp n += x / min n x / min x min System.out.println(n) System.out.println System.out System System.out n String[] args args public class Main {
    public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

} public class Main {
    public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

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

public class Main {
    public static void main(String[] args) {
        try {
            // 標準入力
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String strArr[] = br.readLine().split(" ");
            int n = Integer.parseInt(strArr[0]);
            int x = Integer.parseInt(strArr[1]);
            int min = -1;
            for (int i = 0; i < n; i++) {
                int temp = Integer.parseInt(br.readLine());
                x -= temp;
                if (min == -1 || min > temp) {
                    min = temp;
                }
            }
            n += x / min;
            System.out.println(n);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
