Envy Inc. is a joint-stock company, where each stockholder legally owns a percentage of the total shares. Due to the global economic crisis, the management rules of Envy Inc. define a special way for distributing last year's profit: if a stockholder owns more than half of the shares, he or she receives the total profit. This is nothing unusual in today's business world!
However, if no stockholder owns more than of the shares, stockholders are allowed to form coalitions, i.e., groups of stockholders. The coalition's participation percentage is the sum of its members' share percentages. If a coalition owns more than half the shares, its members receive the total profit, distributed proportionally to each member's participation in the coalition.
For example, suppose there are stockholders: , , , , and , who own , , , , and of the company shares, respectively. Stockholder can form several winning coalitions. For instance, if forms a coalition with and , receives of the profit. If forms a coalition with and instead, receives . On the other hand, cannot form a winning coalition with only .
Your task is, given a distribution of shares in Envy Inc. and a specified stockholder, to determine the maximum percentage of last year's profit the selected stockholder can receive.
The input consists of several test cases. Each test case specifies a distribution of share percentages and an index for a stockholder for whom the optimal participation must be determined. Each test case consists of several lines:
The first line contains two integers (1 \leq n \leq 100) and (1 \leq x \leq n), separated by a space. is the number of stockholders in Envy Inc., and is the index of the stockholder to analyze.
Each of the next lines contains a single floating point value p_i, rounded to two decimal places, representing the percentage of shares owned by stockholder (1 \leq i \leq n). The decimal separator is "" (a dot). You may assume p_1 + \ldots + p_n = 100.
The end of input is signaled by n = x = 0, which should be ignored.
For each test case, output a single line with the corresponding answer. The answer must be formatted and rounded to two decimal places. The decimal separator must be "" (a dot). Round to the nearest neighbor; if both neighbors are equidistant, round up (for example, 78.312 \to 78.31; 78.566 \to 78.57; 78.345 \to 78.35, etc.).
Example 1