#BS0000026. Cắt dây (Ropes)

Cắt dây (Ropes)

Ropes

Source: Codeforces

Version: Phuoc Hung OJ Extended

Problem Statement

There are nn ropes of lengths aia_i. Ropes may be cut into pieces and leftovers may be discarded. Find the maximum real length xx such that at least kk pieces, each of length exactly xx can be obtained.

Input

The first line contains n,kn,k. The next nn lines contain aia_i.

Output

Print the maximum length. The answer is accepted if its absolute or relative error does not exceed 10−610^{-6}.

Subtasks

  • Subtask 1 — 20%: n=1n=1.
  • Subtask 2 — 30%: 1≤n,k≤10001\le n,k\le1000.
  • Subtask 3 — 50%: 1≤n,k≤1041\le n,k\le10^4, 1≤ai≤1071\le a_i\le10^7.

Examples

Input

4 11
802
743
457
539

Output

200.5000000000

Explanation

At length 200.5200.5, the ropes yield 4+3+2+2=114+3+2+2=11 pieces.