#GD0000001. Làm bánh vòng tối đa (Bitter Alchemy)

Làm bánh vòng tối đa (Bitter Alchemy)

Bitter Alchemy

Source: AtCoder

Version: Phuoc Hung OJ Extended

Problem Statement

There are NN doughnut types. Making one doughnut of type ii consumes mim_i grams of ingredient. You have XX grams and must make at least one doughnut of every type. Find the maximum total number of doughnuts that can be made.

Input

The first line contains integers N,XN, X. Each of the next NN lines contains mim_i.

Output

Print one integer: the maximum number of doughnuts.

Subtasks

General constraints:

  • 2≤N≤1002 \le N \le 100.

  • 1≤mi≤10001 \le m_i \le 1000.

  • ∑mi≤X≤105\sum m_i \le X \le 10^5.

  • Subtask 1 (20 points): N≤10N \le 10, X≤1000X \le 1000

  • Subtask 2 (30 points): N≤50N \le 50, X≤104X \le 10^4

  • Subtask 3 (50 points): No additional constraints.

Examples

Input

3 1000
120
100
140

Output

9

Explanation

Making one of each type consumes 360360 grams, leaving 640640 grams. The cheapest type costs 100100 grams, so six more can be made. The total is 3+6=93+6=9.