

import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	}
} Main public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int m[] = new int[n]; m new int[n] n int minCost = Integer.MAX_VALUE; minCost Integer.MAX_VALUE Integer Integer.MAX_VALUE int total = 0; total 0 for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		} {
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc minCost = Math.min(minCost, m[i]) minCost Math.min(minCost, m[i]) Math.min Math minCost m[i] m i total += m[i] total m[i] m i System.out.println((x - total)/minCost + n) System.out.println System.out System System.out (x - total)/minCost + n (x - total)/minCost (x - total) x total minCost n String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	}
} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	}
} Main


import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

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

		int m[] = new int[n];

		int minCost = Integer.MAX_VALUE;
		int total = 0;
		for(int i = 0; i < n; i++){
			m[i] = sc.nextInt();
			minCost = Math.min(minCost, m[i]);
			total += m[i];
		}


		System.out.println((x - total)/minCost + n);
	}
}
