#!/usr/bin/env python3 vl, vr = map(int, input().split()) d = int(input()) w = int(input()) t = d / (vl + vr) print(w * t)