#include int main() { double t1,t2,k1,k2; std::cin>>t1>>k1>>t2>>k2; std::cout<<((t1*t2)/(k1*k2))/2<<'\n'; return 0; }