import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
= new Scanner
(System.
in); double k,p,s,n,y;
k=in.nextDouble();
p=in.nextDouble();
s=in.nextDouble();
n=in.nextDouble();
if ((k
<=0)||(p
<=0)||(s
<=0)||(n
<=0)) {System.
out.
printf("Неверные денные");} else {
double l1
=Math.
log(n
*s
/k
); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJZG91YmxlIGsscCxzLG4seTsKCQlrPWluLm5leHREb3VibGUoKTsKCQlwPWluLm5leHREb3VibGUoKTsKCQlzPWluLm5leHREb3VibGUoKTsKCQluPWluLm5leHREb3VibGUoKTsKCQlpZiAoKGs8PTApfHwocDw9MCl8fChzPD0wKXx8KG48PTApKSB7U3lzdGVtLm91dC5wcmludGYoItCd0LXQstC10YDQvdGL0LUg0LTQtdC90L3Ri9C1Iik7fSAKCQllbHNlIHsKCQkJZG91YmxlIGwxPU1hdGgubG9nKG4qcy9rKTsKCQkJZG91YmxlIGwyPU1hdGgubG9nKHApOwoJCQl5ID0gTWF0aC5jZWlsKGwxL2wyKTsgCgkJCVN5c3RlbS5vdXQucHJpbnRmKCIlLjBmIix5KTsKCQl9Cgl9Cn0=