#include <iostream>

int main(){

  int i, n, x, m, min, all;
  min = 100010;
  all = 0;
  
  scanf("%d %d", &n, &x);
  for(i=0; i<n; i++){
    scanf("%d",&m);
    if(m<min)min = m;
    all += m;
  }
  printf("%d\n", (x-all)/min+n);
}
