#BS0000069. Ăn nhanh (Gluttony)

Ăn nhanh (Gluttony)

Gluttony

Source: AtCoder

Version: Phuoc Hung OJ Extended

Problem Statement

There are NN member coefficients AiA_i and NN food difficulties FiF_i. Pair them bijectively; a pair (x,y)(x,y) takes xyxy seconds. At most KK training steps may decrease coefficients by one, not below zero. Minimize the maximum paired product.

Input

The first line contains N,KN,K. Then arrays AA and FF.

Output

Print the minimum possible score.

Subtasks

  • Subtask 1 — 20%: N≤50N\le50.
  • Subtask 2 — 30%: N≤5000N\le5000.
  • Subtask 3 — 50%: N≤2⋅105N\le2\cdot10^5, K≤1018K\le10^{18}, Ai,Fi≤106A_i,F_i\le10^6.

Example

Input

3 5
4 2 1
2 3 1

Output

2

Explanation

An optimal training and pairing achieves maximum product 2.