import java.util.Scanner;
public class P11047 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt(), K = sc.nextInt(), answer = 0, a[] = new int[N];
for (int i = 0; i < N; i++) {
a[i] = sc.nextInt();
}
for (int i = N - 1; i >= 0; i--) {
answer += K / a[i];
K %= a[i];
}
System.out.println(answer);
sc.close();
}
}