

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	}

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

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	} main {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int[] m = new int[n]; m new int[n] n int min = 1000; min 1000 int count = n; count n for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		} {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		} m[i] = scanner.nextInt() m[i] m i scanner.nextInt() scanner.nextInt scanner if (m[i] < min) {
				min = m[i];
			} m[i] < min m[i] m i min {
				min = m[i];
			} min = m[i] min m[i] m i x -= m[i] x m[i] m i while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		} x >= 0 x 0 {
			x -= min;
			if(x < 0) break;
			count++;
		} x -= min x min if(x < 0) break; x < 0 x 0 break; count++ count System.out.println(count) System.out.println System.out System System.out count scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	}

} Main


import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] m = new int[n];
		int min = 1000; 
		int count = n;
		for (int i = 0; i < n; i++) {
			m[i] = scanner.nextInt();
			if (m[i] < min) {
				min = m[i];
			}
			
			x -= m[i];
		}
		
		while(x >= 0) {
			x -= min;
			if(x < 0) break;
			count++;
		}
		
		System.out.println(count);
		scanner.close();

	}

}
