// Merry Christmas! (1発で通ってくれ) #include using namespace std; typedef long long ll; typedef vector vi; typedef vector vl; typedef pair pii; typedef pair pll; typedef int _loop_int; #define REP(i,n) for(_loop_int i=0;i<(_loop_int)(n);++i) #define FOR(i,a,b) for(_loop_int i=(_loop_int)(a);i<(_loop_int)(b);++i) #define FORR(i,a,b) for(_loop_int i=(_loop_int)(b)-1;i>=(_loop_int)(a);--i) #define DEBUG(x) cout<<#x<<": "< P; int n,s,id; int a[83025]; int main(){ scanf("%d%d%d",&n,&s,&id); REP(i,n)scanf("%d",a+i); int writerscore = s*100 + a[id]; a[id] = 1e9; sort(a,a+n); double ans = 1.0; int ok_line = 0; REP(i,n-1){ int score = (450*s + 50*s*(i+1)) / (5+i); while(ok_line