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