import java.util.Arrays;
import java.util.Scanner;

public class Main {
	  
	public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);
		    
		    int N = scanner.nextInt();
		    int M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); }
		  } import java.util.Arrays; Arrays java.util 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 M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); }
		  } Main public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);
		    
		    int N = scanner.nextInt();
		    int M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); } main {
		    Scanner scanner = new Scanner(System.in);
		    
		    int N = scanner.nextInt();
		    int M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int M = scanner.nextInt(); M scanner.nextInt() scanner.nextInt scanner int[] moto = new int[N]; moto new int[N] N int sum = 0; sum 0 for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    } {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    } moto[i] = scanner.nextInt() moto[i] moto i scanner.nextInt() scanner.nextInt scanner sum = sum + moto[i] sum sum + moto[i] sum moto[i] moto i Arrays.sort(moto) Arrays.sort Arrays moto System.out.println(N + (M - sum) / moto[0]) System.out.println System.out System System.out N + (M - sum) / moto[0] N (M - sum) / moto[0] (M - sum) M sum moto[0] moto 0 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 M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); }
		  } public class Main {
	  
	public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);
		    
		    int N = scanner.nextInt();
		    int M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); }
		  } Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	  
	public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);
		    
		    int N = scanner.nextInt();
		    int M = scanner.nextInt();
		    int[] moto = new int[N];
		    int sum = 0;
		    
		    for(int i = 0; i < N; i++) 
		    {
		    	moto[i] = scanner.nextInt();
		    	sum = sum + moto[i];
		    }
		    
		    Arrays.sort(moto);
		    System.out.println(N + (M - sum) / moto[0]);
		    scanner.close(); }
		  }