import java.io.*;
import java.util.*;
public class Main {
  public static void main(String[] args) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
  public static void main(String[] args) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  }
} Main public static void main(String[] args) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  } main {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  } String line = null; line null BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) line = br.readLine() line br.readLine() br.readLine br String data[] = line.split(" "); data line.split(" ") line.split line " " int size = Integer.parseInt(data[0]); size Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 long total = Long.parseLong(data[1]); total Long.parseLong(data[1]) Long.parseLong Long data[1] data 1 long sum = 0; sum 0 long count = 0; count 0 long min = 1000; min 1000 for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    } int i = 0; int i = 0; i 0 i < size i size i ++ i ++ i {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    } {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    } line = br.readLine() line br.readLine() br.readLine br long num = Long.parseLong(line); num Long.parseLong(line) Long.parseLong Long line sum = sum + num sum sum + num sum num count = count + 1 count count + 1 count 1 if (num < min) min = num; num < min num min min = num min num if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    } total != sum total sum {
      long rest = total - sum;
      count = count + (rest/min);
    } long rest = total - sum; rest total - sum total sum count = count + (rest/min) count count + (rest/min) count (rest/min) rest min 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) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  }
} public class Main {
  public static void main(String[] args) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  }
} Main
import java.io.*;
import java.util.*;
public class Main {
  public static void main(String[] args) throws Exception {
    String line = null;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    line = br.readLine();
    String data[] = line.split(" ");
    int size = Integer.parseInt(data[0]);
    long total = Long.parseLong(data[1]);
    long sum = 0;
    long count = 0;
    long min = 1000;
    for (int i = 0; i < size; i ++) {
      line = br.readLine();
      long num = Long.parseLong(line);
      sum = sum + num;
      //System.out.println(num);
      count = count + 1;
      if (num < min) min = num;
    }
    //System.out.println(sum + "," + min);
    if (total != sum) {
      long rest = total - sum;
      count = count + (rest/min);
    }
    System.out.println(count);
  }
}