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

public class Main {

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	}

} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	}

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer sum = 0; sum 0 Integer numTypeDonuts= new Integer(scanner.next()); numTypeDonuts new Integer(scanner.next()) Integer donutsMaterials = new Integer(scanner.next()); donutsMaterials new Integer(scanner.next()) ArrayList<Integer> materialAmount = new ArrayList<Integer>(); materialAmount new ArrayList<Integer>() for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		} int i = 0; int i = 0; i 0 i < numTypeDonuts i numTypeDonuts i++ i++ i {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		} {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		} materialAmount.add(new Integer(scanner.next())) materialAmount.add materialAmount new Integer(scanner.next()) sum += materialAmount.get(i) sum materialAmount.get(i) materialAmount.get materialAmount i Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts; output (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts (donutsMaterials - sum) / Collections.min(materialAmount) (donutsMaterials - sum) donutsMaterials sum Collections.min(materialAmount) Collections.min Collections materialAmount numTypeDonuts System.out.println(output) System.out.println System.out System System.out output scanner.close() scanner.close scanner String[] args args public class Main {

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	}

} public class Main {

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	}

} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

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

		Integer sum = 0;

		Integer numTypeDonuts= new Integer(scanner.next());
		Integer donutsMaterials = new Integer(scanner.next());

		ArrayList<Integer> materialAmount = new ArrayList<Integer>();
		for(int i = 0; i < numTypeDonuts;i++) {
			materialAmount.add(new Integer(scanner.next()));
			sum += materialAmount.get(i);

		}
		Integer output = (donutsMaterials - sum) / Collections.min(materialAmount) + numTypeDonuts;

		System.out.println(output);

		 scanner.close();
	}

}
