import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	}


	static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	}


	static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	} main {
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) System.out.println(donuts(sc)) System.out.println System.out System System.out donuts(sc) donuts sc String[] args args static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	} donuts {
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc int min = 999999; min 999999 List<Integer> l = new ArrayList<Integer>(); l new ArrayList<Integer>() for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		} int i = 0 ; int i = 0 ; i 0 i < n i n ++i ++i i {
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		} {
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc l.add(a) l.add l a if(min > a){
				min = a;
			} min > a min a {
				min = a;
			} min = a min a m = m - a m m - a m a return  m/min + l.size(); m/min + l.size() m/min m min l.size() l.size l Scanner sc sc public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	}


	static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	}


	static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(donuts(sc));
	}


	static int donuts(Scanner sc){
		int n = sc.nextInt();
		int m = sc.nextInt();


		int min = 999999;
		List<Integer> l = new ArrayList<Integer>();
		for(int i = 0 ; i < n ; ++i){
			int a = sc.nextInt();
			l.add(a);
			if(min > a){
				min = a;
			}
			m = m - a;
		}


		return  m/min + l.size();
	}
}