import java.util.Scanner;
public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    }
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    } main {
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int min = 100000; min 100000 int cnt = 0; cnt 0 for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	} {
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc x-= m x m min = Math.min(m, min) min Math.min(m, min) Math.min Math m min cnt++ cnt while(x >= min) {
    		x-= min;
    		cnt++;
    	} x >= min x min {
    		x-= min;
    		cnt++;
    	} x-= min x min cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    }
} public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    }
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	int x = sc.nextInt();
    	int min = 100000;
    	int cnt = 0;

    	for (int i = 0; i < n; i++){
    		int m = sc.nextInt();
    		x-= m;
    		min = Math.min(m, min);
    		cnt++;
    	}

    	while(x >= min) {
    		x-= min;
    		cnt++;
    	}

    	// 出力
    	System.out.println(cnt);
    }
}