import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); double vl=sc.nextDouble(),vr=sc.nextDouble(),d=sc.nextDouble(),w=sc.nextDouble(); sc.close(); System.out.print(d/(vl+vr)*w); } }