
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	}


} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	}


} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] tmp = br.readLine().split(" "); tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int N = Integer.parseInt(tmp[0]); N Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 int X = Integer.parseInt(tmp[1]); X Integer.parseInt(tmp[1]) Integer.parseInt Integer tmp[1] tmp 1 List<Integer> m = new ArrayList<Integer>(); m new ArrayList<Integer>() int oneDo = 0; oneDo 0 for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		} int n = 0; int n = 0; n 0 n < N n N n++ n++ n {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		} {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		} m.add(Integer.parseInt(br.readLine())) m.add m Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br oneDo += m.get(n) oneDo m.get(n) m.get m n X -= oneDo X oneDo int count = N; count N m.sort(null) m.sort m null int min = m.get(0); min m.get(0) m.get m 0 while(X >= min){
			X -= min;
			count++;
		} X >= min X min {
			X -= min;
			count++;
		} X -= min X min count++ count 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) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	}


} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	}


} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);
		int X = Integer.parseInt(tmp[1]);

		List<Integer> m = new ArrayList<Integer>();
		int oneDo = 0;
		for (int n = 0; n < N; n++) {
			m.add(Integer.parseInt(br.readLine()));
			oneDo += m.get(n);
		}

		X -= oneDo;
		int count = N;

		m.sort(null);

		int min = m.get(0);

		while(X >= min){
			X -= min;
			count++;
		}

		System.out.println(count);


	}


}
