Akaki, a patissier, can make N kinds of doughnut using only a certain powder called "Okashi no Moto" (literally "material of pastry", simply called Moto below) as ingredient. These doughnuts are called Doughnut 1, Doughnut 2, ..., Doughnut N. In order to make one Doughnut i (1 ≤ i ≤ N), she needs to consume m_i grams of Moto. She cannot make a non-integer number of doughnuts, such as 0.5 doughnuts.  Now, she has X grams of Moto. She decides to make as many doughnuts as possible for a party tonight. However, since the tastes of the guests differ, she will obey the following condition:    * For each of the N kinds of doughnuts, make at least one doughnut of that kind.  At most how many doughnuts can be made here? She does not necessarily need to consume all of her Moto. Also, under the constraints of this problem, it is always possible to obey the condition.
n,x=map(int,input().split())
ln=[int(input()) for i in range(n)]
x-=sum(ln)
i=n
while x>=0:
    x-=min(ln)
    i+=1
print(i)
n,x=map(int,input().split())
ln=[int(input()) for i in range(n)]
print(n+(x-sum(ln))//min(ln))