#include<iostream>
using namespace std;
int main(){
    int n,x,tmp,min=1001;    cin>>n>>x;
    for(int i = 0; i < n; i++){
        cin>>tmp;
        if(tmp<min)min=tmp;
        x-=tmp;
    }
    cout<<n+x/min<<endl;
    return 0;
}