Go: package main

import (
	"fmt"
	"math"
)

func main() {
	var M, N, P int
	for {
		fmt.Scan(&N, &M, &P)
		if N == 0 && M == 0 && P == 0 {
			return
		}

		arr := make([]int, N)
		sum := 0
		for i := 0; i < N; i++ {
			var po int
			fmt.Scan(&po)
			arr[i] = po
			sum += po
		}

		if arr[M-1] == 0 {
			fmt.Println(0)
		} else {
			fmt.Println(math.Floor(float64(sum * (100 - P) / arr[M-1])))
		}
	}
}

Python: def solve(N,M,P,Xs):
	if Xs[M-1] == 0:
		return 0
	return (sum([x*100 for x in Xs]) * (1-P/100)) / Xs[M-1]
	
def main():
	while True:
		N,M,P = map(int,input().split())
		if N == 0 and M == 0 and P == 0:
			return
		Xs = [int(input()) for _ in range(N)]
		print(int(solve(N,M,P,Xs)))

if __name__ == '__main__':
	main()

Python: while 1:
	n,m,p=map(int,raw_input().split())
	if n==0:break
	x=[input() for i in range(n)]
	print (100-p)*sum(x)/x[m-1] if x[m-1]!=0 else 0

Python: while True:
    N, M, P = map(int, input().split())
    if N == 0 and M == 0 and P == 0:
        break
    X = [int(input()) for _ in range(N)]
    win = X[M - 1]
    if win == 0:
        print(0)
    else:
        # print("sum: %d" % sum(X))
        # print("P: %d" % P)
        # print("1-P/100: {}".format(1 - P / 10))
        # print(round((1 - P / 100), 100))
        # print("win: %d" % win)
        # print(int(sum(X) * 100 // win * (1 - P / 100)))
        print(int(sum(X) * 100 * round((1 - P / 100), 10) / win))

Python: while True :
    N, M, P = map(int, input().split())
    if N == 0 and M == 0 and P == 0 :
        break
    
    Sum = 0
    for i in range(N) :
        x = int(input())
        Sum += x
        if i == M - 1 :
            winner = x
    if winner == 0 :
        print(0)
    else :
        print(int(Sum * 100 * (100 - P) / 100 / winner))

Python: if __name__ == '__main__':
   while 1:
    n,m,p = list(map(int,input().strip().split()))
    if n ==0 and m ==0 and p ==0:break
    player = []
    for _ in range(n):player.append(int(input()))
    bet = sum(player) *(100 - p)
    if player[m-1] == 0:print(0)
    else:
        ans = bet/player[m-1]
        print(int(ans))

Python: while True:
    N, M, P = map(int, input().split())
    if N == 0 and M == 0 and P == 0:
        break
    X = [0 for i in range(N)]
    for i in range(N):
        X[i] = int(input())
    
    if X[M - 1] != 0:
        print(sum(X) * (100 - P) // X[M - 1])
    else:
        print(0)

Python: while True:
    N,M,P=map(int,input().split())
    if N==M==P: break
    divSum=0
    for i in range(N):
        temp=int(input())
        divSum+=temp*100
        if i==M-1:
            numWin=temp
    divSum*=(100-P)/100
    if numWin!=0:
        dividents=divSum//numWin
    else: dividents=0
    print(dividents)

Python: while True:
    N,M,P = map(int,input().split())
    if N == 0: break
    src = [int(input()) for i in range(N)]
    print(0 if src[M-1] == 0 else (P * sum(src) // src[M-1]))

Python: while(True):
    N, M, P = map(int, input().split())
    if N==0 and M==0 and P==0:
        break

    X = []
    for i in range(N):
        X.append(int(input()))

    pool = sum(X) * 100
    if X[M-1] == 0:
        print(0)
        continue

    payout = pool*(1-P/100) / X[M-1]
    ans = int(payout)
    print(ans)

Python: 
while True:
	n, m, p = map(int, input().split())
	if (n, m, p) == (0, 0, 0):
		break
	x = [int(input()) for i in range(n)]
	if x[m-1] == 0:
		print(0)
	else:
		print(int(sum(x) * (100-p) / x[m-1]))

Python: def main():
    while True:
        n,m,p = map(int,input().split())
        if (n,m,p) == (0,0,0):
            return
        ps = [int(input()) for _ in range(n)]
        pool = sum(ps) * 100
        pool = pool * (100-p) // 100 
        if ps[m-1] == 0:
            print(0)
        else:
            print(pool // ps[m-1])

if __name__ == '__main__':
    main()

Python: while True:
    N,M,P=map(int,input().split())
    if N==M==P: break
    divSum=0
    for i in range(N):
        temp=int(input())
        divSum+=temp*100
        if i==M-1:
            numWin=temp
    divSum*=(100-P)/100
    if numWin!=0:
        dividents=int(divSum/numWin)
    else: dividents=0
    print(dividents)

Python: import math
while True:
    n,m,p = map(int,input().split())
    if n == m == p == 0:
        break
    m -= 1
    x = [int(input()) for i in range(n)]
    if x[m] == 0:
        print(0)
    else:
        print(math.floor((100-p)*sum(x)/x[m]))

Python: while True:
    N, M, P = map(int, input().split())
    if N == 0 and M == 0 and P == 0:
        break
    X = [int(input()) for _ in range(N)]
    win = X[M - 1]
    if win == 0:
        print(0)
    else:
        print(int(sum(X) * 100 * (1 - P / 100) // win))

Python: #!/usr/bin/python
# -*- coding: utf-8 -*-
import math

while True:
    amount, number, per = map(int, input().split())
    if amount == 0 and number == 0 and per == 0:
        break

    vote = []
    for _ in range(amount):
        vote.append(int(input()))

    if vote[number-1] == 0:
        print("0")
    else:
        print(math.floor((100 * sum(vote) * ((100 - per) / 100)) / vote[number-1]))

Python: import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**3
eps = 1.0 / 10**10
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    rr = []
    while True:
        n,m,p = LI()
        if n == 0:
            break
        a = [I() for _ in range(n)]
        s = sum(a) * 100 * (100-p) // 100
        if a[m-1] == 0:
            rr.append(0)
        else:
            rr.append(s // a[m-1])

    return '\n'.join(map(str, rr))


print(main())

Python: result_all = []
counter = 0
while True:
    N,M,P = map(int, input().split())
    if(N == 0 and M == 0 and P == 0): break
    X = [int(input()) for i in range(N)]
    X_sum = sum(X)
    if(X[M-1] == 0):
        result_all.append(0)
        continue
    result = ((X_sum * 100) - ((X_sum * 100) * (P / 100))) / X[M-1]
    result_all.append(result)

for i in range(len(result_all)):
    print(int(result_all[i]))

Python: #!/usr/bin/python
# -*- coding: utf-8 -*-
import math

while True:
    amount, number, per = map(int, input().split())
    if amount == 0 and number == 0 and per == 0:
        break

    vote = []
    for i in range(amount):
        vote.append(int(input()))

    if vote[number-1] == 0:
        print("0")
    else:
        print(math.floor((100 * sum(vote) * (per / 100)) / vote[number-1]))

Python: while True:
    N, M, P = map(int, input().split())
    if N == 0 and M == 0 and P == 0:
        break
    X = [int(input()) for _ in range(N)]
    win = X[M - 1]
    if win == 0:
        print(0)
    else:
        print(int(sum(X) * 100 // win * (1 - P / 100)))

Python: readline = open(0).readline
ans = []
while 1:
    N, M, P = map(int, readline().split())
    if N == 0:
        break
    X = [int(readline()) for i in range(N)]
    s = sum(X)
    t = X[M-1]
    if t == 0:
        ans.append("0\n")
        continue
    ans.append("%d\n" % int(s * (100-P) / t))
open(1, 'w').writelines(ans)

Python: import math
while True:
	n,m,p = map(int, input().split(" "))
	if n+m+p == 0:
		break
	total = 0
	winner = 0
	for i in range(1, n+1):
		x = int(input())
		total += x
		if i == m:
			winner = x
	print(math.floor(100 * total * (100 - p) / 100 / winner) if winner > 0 else 0)

Python: while True:
    n, m, p = map(int, input().split())
    if n == 0 and m == 0 and p == 0:
        break

    x = [int(input()) for i in range(n)]
    total = sum(x) * (100 - p)
    if x[m - 1] == 0:
        print(0)
    else:
        print(total // x[m - 1])