# 7 # @author: By yangbocsu # @date: 2021/9/22 a,b,c,d = map(float,input().split()) if d == 0: print("d不能为0") else: f = (a+b)*c/d print(f)