//一道物理题,VR=VS*R*C*w/sqrt(R^2*C^2*w^2+1)
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main()
{
double VS,R,C;
int n,s;
cin>>VS>>R>>C>>n;
double *w=new double[n+1];
s=n;
while(s--)
{
cin>>w[n-s];
cout<<setiosflags(ios::fixed)<<setprecision(3)
<<VS*R*C*w[n-s]/sqrt(R*R*C*C*w[n-s]*w[n-s]+1)<<endl;
}
return 0;
}