import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    }
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    } main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c[] = new int[a]; c new int[a] a int ans ans count = 0; count 0 for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        } int i = 0; int i = 0; i 0 i < a i a i++ i++ i {
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        } {
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        } c[i] = sc.nextInt() c[i] c i sc.nextInt() sc.nextInt sc b -= c[i] b c[i] c i count += 1 count 1 Arrays.sort(c) Arrays.sort Arrays c while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        } b >= c[0] b c[0] c 0 {
          b -= c[0];
          count += 1;
          
        } b -= c[0] b c[0] c 0 count += 1 count 1 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){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    }
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    }
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c[] = new int[a];
        int ans,count = 0;
      	for(int i = 0;i < a;i++){
          c[i] = sc.nextInt();
          b -= c[i];
          count += 1;
        }
        Arrays.sort(c);
        while(b >= c[0]){
          b -= c[0];
          count += 1;
          
        }
        
          System.out.println(count);

 
      	
 
    }
}