import java.util.*;
class Main{

     public static void main(String []args){
        
        Scanner scan = new Scanner(System.in) ;
        int n =scan.nextInt();
        int x = scan.nextInt();
        int arr[] = new int[n];
        int sum = 0 ;
        int min = 99999 ;
        for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        }
        
        int rest = x - sum ;
        int possible = rest/min ;
        System.out.println(possible+n);
        
     }
} import java.util.*; util.* java class Main{

     public static void main(String []args){
        
        Scanner scan = new Scanner(System.in) ;
        int n =scan.nextInt();
        int x = scan.nextInt();
        int arr[] = new int[n];
        int sum = 0 ;
        int min = 99999 ;
        for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        }
        
        int rest = x - sum ;
        int possible = rest/min ;
        System.out.println(possible+n);
        
     }
} Main public static void main(String []args){
        
        Scanner scan = new Scanner(System.in) ;
        int n =scan.nextInt();
        int x = scan.nextInt();
        int arr[] = new int[n];
        int sum = 0 ;
        int min = 99999 ;
        for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        }
        
        int rest = x - sum ;
        int possible = rest/min ;
        System.out.println(possible+n);
        
     } main {
        
        Scanner scan = new Scanner(System.in) ;
        int n =scan.nextInt();
        int x = scan.nextInt();
        int arr[] = new int[n];
        int sum = 0 ;
        int min = 99999 ;
        for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        }
        
        int rest = x - sum ;
        int possible = rest/min ;
        System.out.println(possible+n);
        
     } 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 arr[] = new int[n]; arr new int[n] n int sum = 0 ; sum 0 int min = 99999 ; min 99999 for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        } int i = 0 ; int i = 0 ; i 0 i<n i n i++ i++ i {
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        } {
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        } arr[i] = scan.nextInt() arr[i] arr i scan.nextInt() scan.nextInt scan sum+=arr[i] sum arr[i] arr i if(arr[i] < min){
                min = arr[i] ;
            } arr[i] < min arr[i] arr i min {
                min = arr[i] ;
            } min = arr[i] min arr[i] arr i int rest = x - sum ; rest x - sum x sum int possible = rest/min ; possible rest/min rest min System.out.println(possible+n) System.out.println System.out System System.out possible+n possible n String []args args
import java.util.*;
class Main{

     public static void main(String []args){
        
        Scanner scan = new Scanner(System.in) ;
        int n =scan.nextInt();
        int x = scan.nextInt();
        int arr[] = new int[n];
        int sum = 0 ;
        int min = 99999 ;
        for(int i = 0 ; i<n ; i++){
            arr[i] = scan.nextInt();
            sum+=arr[i] ;
            if(arr[i] < min){
                min = arr[i] ;
            }
        }
        
        int rest = x - sum ;
        int possible = rest/min ;
        System.out.println(possible+n);
        
     }
}