n, d = map(int, input().split()) map(int, input().split()) V = list(map(int, input().split())) sumV = sum(V) print((d + sumV - 1) // sumV)