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[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  }
} 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[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  }
} 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[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  } main {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    int x = scanner.nextInt();
    int[] m = new int[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  } 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[110]; m new int[110] 110 int sum = 0; sum 0 int min = 1001; min 1001 int ans = 0; ans 0 for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt(); int i = 1; int i = 1; i 1 i <= n i n i++ i++ i m[i] = scanner.nextInt(); m[i] = scanner.nextInt() m[i] m i scanner.nextInt() scanner.nextInt scanner for (int i = 1; i <= n; i++)
      sum += m[i]; int i = 1; int i = 1; i 1 i <= n i n i++ i++ i sum += m[i]; sum += m[i] sum m[i] m i for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]); int i = 1; int i = 1; i 1 i <= n i n i++ i++ i min = Math.min(min, m[i]); min = Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i ans = n + (x - sum) / min ans n + (x - sum) / min n (x - sum) / min (x - sum) x sum 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 scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    int x = scanner.nextInt();
    int[] m = new int[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  }
} 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[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  }
} 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[110];
    int sum = 0;
    int min = 1001;
    int ans = 0;

    for (int i = 1; i <= n; i++)
      m[i] = scanner.nextInt();

    for (int i = 1; i <= n; i++)
      sum += m[i];

    for (int i = 1; i <= n; i++)
      min = Math.min(min, m[i]);

    ans = n + (x - sum) / min;

    System.out.println(ans);
  }
}