#include<stdio.h>
int main()
{
    int N,X;
    scanf("%d %d",&N,&X);
    int a[N],i,min=X;
    int s=0,p,q,r;
    for(i=0;i<N;i++){
        scanf("%d",&a[i]);
        s=s+a[i];
    }
    p=X-s;

    for(i=0;i<N;i++){
        if(min>a[i]) min=a[i];
    }
    q=p/min;
    r=N+q;
    printf("%d\n",r);
    return 0;


}
