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


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	}

} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections 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);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	}

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

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	} main {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc final int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int remindx = x; remindx x List<Integer> mlist = new ArrayList<Integer>(); mlist new ArrayList<Integer>() for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			mlist.add(sc.nextInt());
		} {
			mlist.add(sc.nextInt());
		} mlist.add(sc.nextInt()) mlist.add mlist sc.nextInt() sc.nextInt sc int count = 0; count 0 for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		} final int donuts mlist {
			remindx = remindx - donuts;
			count++;
		} {
			remindx = remindx - donuts;
			count++;
		} remindx = remindx - donuts remindx remindx - donuts remindx donuts count++ count if (remindx == 0) {
			System.out.println(count);
			return;
		} remindx == 0 remindx 0 {
			System.out.println(count);
			return;
		} System.out.println(count) System.out.println System.out System System.out count return; Collections.sort(mlist) Collections.sort Collections mlist count = count + (remindx / mlist.get(0)) count count + (remindx / mlist.get(0)) count (remindx / mlist.get(0)) remindx mlist.get(0) mlist.get mlist 0 System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	}

} Main

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


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		final int x = sc.nextInt();

		int remindx = x;

		List<Integer> mlist = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			mlist.add(sc.nextInt());
		}

		int count = 0;
		for (final int donuts : mlist) {
			remindx = remindx - donuts;
			count++;
		}

		if (remindx == 0) {
			System.out.println(count);
			return;
		}

		Collections.sort(mlist);
		count = count + (remindx / mlist.get(0));

		System.out.println(count);

	}

}
