# coding: utf-8

vl, vr = map(int, input().split())
d = int(input())
w = int(input())

print(d / (vl + vr) * w)