#BS0000067. Cắt khúc gỗ (Logs)

Cắt khúc gỗ (Logs)

Logs

Source: AtCoder

Version: Phuoc Hung OJ Extended

Problem Statement

There are NN logs of lengths AiA_i. Perform at most KK cuts at arbitrary real positions. Minimize the length of the longest resulting log and print the ceiling of that optimum.

Input

The first line contains N,KN,K. The second line contains A1,…,ANA_1,\ldots,A_N.

Output

Print the required integer.

Subtasks

  • Subtask 1 — 20%: N≤100N\le100.
  • Subtask 2 — 30%: N≤5000N\le5000.
  • Subtask 3 — 50%: N≤2⋅105N\le2\cdot10^5, K≤109K\le10^9, Ai≤109A_i\le10^9.

Example

Input

2 3
7 9

Output

4

Explanation

The optimal longest piece has length 3.5, whose ceiling is 4.