#!/usr/bin/python2 # -*- coding: utf-8 -*- # † vl, vr = map(float, raw_input().split()) d = float(raw_input()) w = float(raw_input()) res = d * w / (vl + vr) print res