VL, VR = map(int, input().split()) D = int(input()) W =int(input()) t = D / (VL + VR) ans = W * t print(ans)