#!/usr/bin/python2 # -*- coding: utf-8 -*- # † from bisect import bisect_right n, s, writer_id = map(int, raw_input().split()) a = map(int, raw_input().split()) score = [] for i in xrange(1, n): score.append(s * 50 + (s * 250) / (i + 4)) writer_score = a[writer_id] + score[0] score.reverse() prob = 1.0 for i in xrange(n): if i == writer_id: continue cnt = bisect_right(score, writer_score - a[i]) prob *= float(cnt) / (n-1) print '{:.15f}'.format(prob)