#include <iostream>
#include <cstdio>
#include <algorithm>
#include <iomanip>
using namespace std;
//英语 看博友分析 抄博友程序 贪心
double da[1008];
int main()
{
int tag=0;
while(1)
{
tag++;
int n;
int m;
//cin>>n>>m;
scanf("%d%d",&n,&m);
if(n==0 && m==0)
{
break;
}
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
scanf("%lf",&da[i*m+j]);
//cin>>da[i*m+j];
}
}
double v;
cin>>v;
sort(da,da+n*m);
double di=da[0];
double sum=da[0];
double le=0;
int i;
int flag=0;
double num=0;
for(i=1;i<n*m;i++)
{
double t=da[i]*i-sum;
//cout<<i<<" "<<t*100<<sum<<endl;
if(t*100>=v)
{
flag=1;
le=(v+(sum)*100)/(i*100);
num=(double)i/(double)(n*m);
break;
}
sum=sum+da[i];
}
if(flag==0)
{
le=(v+sum*100)/(i*100);
num=1;
}
cout<<"Region "<<tag<<endl;
cout<<"Water level is "<<fixed<<setprecision(2)<<le<<" meters."<<endl;
cout<<fixed<<setprecision(2)<<num*100<<" percent of the region is under water."<<endl;
}
return 0;
}