import java.util.*;

public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  }
} Main public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int M = Integer.parseInt(sc.next()); M Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] val = new int[N]; val new int[N] N int ans = N; ans N int min = 1000000; min 1000000 for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    } {
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    } int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc M -= n M n min = n < min ? n : min min n < min ? n : min n < min n min n min ans += M == 0 ? 0 : M/min ans M == 0 ? 0 : M/min M == 0 M 0 0 M/min M min System.out.println(ans) System.out.println System.out System System.out ans String[]args args public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  }
} public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int N = Integer.parseInt(sc.next());
    int M = Integer.parseInt(sc.next());
    int[] val = new int[N];
    int ans = N;
    int min = 1000000;
    for(int i = 0; i < N; i++){
      int n = Integer.parseInt(sc.next());
      M -= n;
      min = n < min ? n : min;
    }
    
    ans += M == 0 ? 0 : M/min;
    System.out.println(ans);
  }
}