p = list(map(int, input().split())) sump = sum(p) pp = sorted(list(map(lambda x:x/sum(p), p))) print(1 - pp[0])