#include <stdio.h>
int main()
{
    int d,n,x,sum=0,count,result,c,swap;
    scanf("%d%d",&n,&x);
    int a[n];
    for(d=0;d<n;d++){
        scanf("%d",&a[d]);
     sum=sum+a[d];
    }
    result=x-sum;
    for (c = 0 ; c < ( n - 1 ); c++)
  {
    for (d = 0 ; d < n - c - 1; d++)
    {
      if (a[d] > a[d+1])
      {
        swap   = a[d];
        a[d]   = a[d+1];
        a[d+1] = swap;
      }
    }

  }
     count=result/a[0];
    printf("%d\n",count+n);
    return 0;
}
