import java.util.Scanner;

public class Main{
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    }
} Main public static void main(String[] args){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    } main {
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int sum = 0; sum 0 int[] m_ = new int[N]; m_ new int[N] N for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	} {
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	} m_[i] = scan.nextInt() m_[i] m_ i scan.nextInt() scan.nextInt scan if(m_[i] < min){
		min = m_[i];
	    } m_[i] < min m_[i] m_ i min {
		min = m_[i];
	    } min = m_[i] min m_[i] m_ i sum += m_[i] sum m_[i] m_ i X -= sum X sum int count = N + (X/min); count N + (X/min) N (X/min) X 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){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    }
} public class Main{
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);

	int N = scan.nextInt();
	int X = scan.nextInt();

	int min = Integer.MAX_VALUE;
	int sum = 0;
	int[] m_ = new int[N];
	for(int i = 0; i < N; i++){
	    m_[i] = scan.nextInt();
	    if(m_[i] < min){
		min = m_[i];
	    }
	    sum += m_[i];
	}

	X -= sum;

	int count = N + (X/min);

	System.out.println(count);
    }
}
