import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     }
}	 import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     }
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     } main {
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int m[] = new int[n]; m new int[n] n for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	m[i] = Integer.parseInt(sc.next());
        } {
        	m[i] = Integer.parseInt(sc.next());
        } m[i] = Integer.parseInt(sc.next()) m[i] m i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc Arrays.sort(m) Arrays.sort Arrays m for(int i = 0; i < n; i++){
        	x -= m[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	x -= m[i];
        } {
        	x -= m[i];
        } x -= m[i] x m[i] m i int wari  = x/m[0]; wari x/m[0] x m[0] m 0 System.out.println(m.length+wari) System.out.println System.out System System.out m.length+wari m.length m m.length wari String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     }
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     }
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		int n = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
      	//配列
        int m[] = new int[n];
        for(int i = 0; i < n; i++){
        	m[i] = Integer.parseInt(sc.next());
        }
        Arrays.sort(m);
        for(int i = 0; i < n; i++){
        	x -= m[i];
        }
        int wari  = x/m[0];
        System.out.println(m.length+wari);
     }
}	