x,y,z,w = map(int,input().split()) v = 0 ans = x - (v*(x/(y+v)-z) + y*x/(y+v) + z*(y+v))/2 print(ans)