#CCBCHBAHAI0000154. Trên mức trung bình (Above Average)

Trên mức trung bình (Above Average)

Above Average

Source: Kattis

Version: Phuoc Hung OJ Extended

Problem Statement

A class has nn students with integer grades s0,s1,…,sn−1s_0,s_1,\ldots,s_{n-1}. The class average is

s‾=s0+s1+⋯+sn−1n.\overline{s}=\frac{s_0+s_1+\cdots+s_{n-1}}{n}.

Let cc be the number of students whose grade is strictly greater than s‾\overline{s}. Compute

P=100⋅cn.P=100\cdot\frac{c}{n}.

Input

  • The first line contains an integer nn.
  • The second line contains nn integers s0,s1,…,sn−1s_0,s_1,\ldots,s_{n-1}.

Output

Print PP with exactly 3 digits after the decimal point, immediately followed by %.

Subtasks

Subtask 1 (100 points): 1≤n≤10001\le n\le1000; 0≤si≤1000\le s_i\le100.

Examples

Input

5
50 50 70 80 100

Output

40.000%

Explanation

The average is (50+50+70+80+100)/5=70(50+50+70+80+100)/5=70. Only 8080 and 100100 are strictly above 7070, so c=2c=2 and P=100⋅2/5=40%P=100\cdot2/5=40\%.