import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    }
} Main public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] nx = br.readLine().split(" "); nx br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int n = Integer.parseInt(nx[0]); n Integer.parseInt(nx[0]) Integer.parseInt Integer nx[0] nx 0 int x = Integer.parseInt(nx[1]); x Integer.parseInt(nx[1]) Integer.parseInt Integer nx[1] nx 1 int min = 1300; min 1300 for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        } {
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        } int temp = Integer.parseInt(br.readLine()); temp Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br min = min > temp ? temp : min min min > temp ? temp : min min > temp min temp temp min x -= temp x temp System.out.println(n + x/min) System.out.println System.out System System.out n + x/min n x/min x min String args[] args public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    }
} public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    }
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[] nx = br.readLine().split(" ");
        int n = Integer.parseInt(nx[0]);
        int x = Integer.parseInt(nx[1]);
        int min = 1300;
        
        for(int i = 0; i < n; i++){
            int temp = Integer.parseInt(br.readLine());
            min = min > temp ? temp : min;
            x -= temp;
        }
        
        System.out.println(n + x/min);
    }
}
