#ABC192F. [ABC192F] Potion

[ABC192F] Potion

Score : 600600 points

Problem Statement

There are NN kinds of materials. Material ii has a magic power of AiA_i.

Takahashi, the magician, wants to make a potion by choosing one or more kinds from these materials and mixing them.

At the moment when he makes a potion by mixing kk kinds of materials, the magic power of the potion is the sum of the materials used. Then, every second, its magic power increases by kk. Note that the increase of the magic power is a discrete - not continuous - process.

Takahashi will mix materials just once, at time 00. What is the earliest time he can get a potion with a magic power of exactly XX?

Under the constraints, it can be proved that it is possible to make a potion with a magic power of exactly XX.

Constraints

  • 1N1001 \leq N \leq 100
  • 1Ai1071 \leq A_i \leq 10^7
  • 109X101810^9 \leq X \leq 10^{18}
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN XX

A1A_1 \ldots ANA_N

Output

Print the earliest time he can get a potion with a magic power of exactly XX.

3 9999999999
3 6 8
4999999994

The potion made by mixing Material 11 and Material 33 has a magic power of 3+8=113+8=11 at time 00, and it increases by 22 every second, so it will be 99999999999999999999 at time 49999999944999999994, which is the earliest possible time.

The potion made by mixing all the materials 1,2,31, 2, 3 will have a magic power of 99999999989999999998 at time 33333333273333333327 and 1000000000110000000001 at time 33333333283333333328, so it will never be exactly 99999999999999999999.

1 1000000000000000000
1
999999999999999999