#include <bits/stdc++.h>
int main() {
  int N, X;
  int m[N];
  scanf("%d%d", &N, &X);
  for (int i = 1; i <= N; i++) {
    scanf("%d", &m[i]);
  }
  int syutsuryoku = N;
  int sum = 0;
  for (int i = 1; i <= N; i++) {
    sum += m[i];
  }
  int zantei = m[1];
  for (int i = 2; i <= N; i++) {
    if (m[i] < zantei) {
      zantei = m[i];
    }
  }
  syutsuryoku = (X - sum) / zantei;
  printf("%d\n", syutsuryoku);
  return 0;
}
