#include<stdio.h>
int main(){
    int n,m,p;
    int i;
    int mem[105];
    int sum=0,result;
    while (1) {
        scanf("%d %d %d",&n,&m,&p);
        if(n==0&&m==0&&p==0){
            break;
        }
        sum=0;
        for (i=0; i<n; i++) {
            scanf("%d",&mem[i]);
            sum+=mem[i];
        }
        if(mem[m-1]==0){
            result=0;
        }else{
            printf("sum=%d %d\n",sum*(100-p),mem[m-1]);
            result=(sum*(100-p))/mem[m-1];
        }
        printf("%d\n",result);
    }
    return 0;
}