#include <iostream>
using namespace std;
int main()
{
int n; cin >> n;
double place, time, wait [n], mov [n], speed [n], s, v0, timee = 0.0,
delta, ss = 0.0, dist = 0.0;
cin >> s; cin >> v0;
for (int i = 0 ; i < n; i++)
{
cin >> wait[i];
wait[i] /= 60;
}
for (int i = 0 ; i < n; i++)
{
cin >> mov[i];
}
for (int i = 0 ; i < n; i++)
{
cin >> speed[i];
}
for (int i = 0 ; i < n; i++)
{
delta = v0 * wait[i] ;
timee += wait[i] ;
if ( s <= delta )
{
time = s / v0;
place = s;
printf("Путники встретятся через %lf часов на расстоянии в %lf км от точки А", time, place);
break;
}
ss += v0 * mov[i] + v0 * wait[i] + mov[i] * speed[i];
if (ss >= s )
{
time = ( s - dist - delta ) / ( v0 + speed[i]) + timee ;
place = time * v0 ;
printf("Путники встретятся через %lf часов на расстоянии в %lf км от точки А", time, place);
break;
}
else
{
dist = ss;
}
timee += mov[i];
}
if ( ss < s ) printf("Путники не доехали до места встречи");
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSAKewoJaW50IG47IGNpbiA+PiBuOwoJZG91YmxlICBwbGFjZSwgdGltZSwgd2FpdCBbbl0sIG1vdiBbbl0sIHNwZWVkIFtuXSwgcywgdjAsIHRpbWVlID0gMC4wLCAKCWRlbHRhLCBzcyA9IDAuMCwgZGlzdCA9IDAuMDsKCWNpbiA+PiBzOyBjaW4gPj4gdjA7Cglmb3IgKGludCBpID0gMCA7IGkgPCBuOyBpKyspCgl7CgkJY2luID4+IHdhaXRbaV07CgkJd2FpdFtpXSAvPSA2MDsKCX0KCWZvciAoaW50IGkgPSAwIDsgaSA8IG47IGkrKykKCXsKCQljaW4gPj4gbW92W2ldOwoJfQoJZm9yIChpbnQgaSA9IDAgOyBpIDwgbjsgaSsrKQoJewoJCWNpbiA+PiBzcGVlZFtpXTsKCX0KCQoJZm9yIChpbnQgaSA9IDAgOyBpIDwgbjsgaSsr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