v = float(reduce(lambda x, y: x + y, map(int, raw_input().split()))) d = float(input()) w = float(input()) print "%.8f" % (d / v * w)