
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		atcode();
	}

	public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		atcode();
	}

	public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		atcode();
	} main {
		atcode();
	} atcode() atcode String[] args args public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	} atcode {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) String[] nx=sc.nextLine().split(" "); nx sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " Integer n=Integer.valueOf(nx[0]); n Integer.valueOf(nx[0]) Integer.valueOf Integer nx[0] nx 0 Integer x=Integer.valueOf(nx[1]); x Integer.valueOf(nx[1]) Integer.valueOf Integer nx[1] nx 1 Integer min=1000; min 1000 Integer count=0; count 0 for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		} {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		} Integer m=Integer.valueOf(sc.nextLine()); m Integer.valueOf(sc.nextLine()) Integer.valueOf Integer sc.nextLine() sc.nextLine sc min=m.compareTo(min)<0?m:min min m.compareTo(min)<0?m:min m.compareTo(min)<0 m.compareTo(min) m.compareTo m min 0 m min x-=m x m count++ count count+=x/min count x/min x min System.out.println(count) System.out.println System.out System System.out count public class Main {
	public static void main(String[] args) {
		atcode();
	}

	public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) {
		atcode();
	}

	public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		atcode();
	}

	public static void atcode() {
		Scanner sc=new Scanner(System.in);
		String[] nx=sc.nextLine().split(" ");
		Integer n=Integer.valueOf(nx[0]);
		Integer x=Integer.valueOf(nx[1]);
		Integer min=1000;
		Integer count=0;
		for(int i=0;i<n;i++) {
			Integer m=Integer.valueOf(sc.nextLine());
			min=m.compareTo(min)<0?m:min;
			x-=m;
			count++;
		}
		count+=x/min;
		System.out.println(count);
	}
}
