Corruption#273

Corruption

0.1 seconds
64 megabytes
Medium (≈1350)

To combat the shadow economy, the bank decided to merge a company's accounts into one account. With a single operation, 2 accounts are merged, and as a fee for conducting the operation and closing one of the accounts, the bank automatically transfers P% of the combined amount to its own account. What is the maximum amount that can remain in the company's account? Before merging, each account had an amount not exceeding currency units.

Input

The first line contains two numbers: the number of accounts and the transfer percentage (2 ≤ N ≤ 100000 and 0 ≤ Р ≤ 20). The second line contains numbers: The amount in each of the company's accounts (0 ≤ G ≤ 10000).

Output

Print the maximum possible amount that can remain in the account to 2 decimal places.

Examples

Example 1

Loading
Loading