#! /usr/bin/env python3

from decimal import *

vl, vr = map(Decimal, input().split())
d = Decimal(input())
w = Decimal(input())
print(w * (d / (vl + vr)))