arr = list(map(int,input().split())) arr.sort() p,q,r = arr s = sum(arr) print((q+r)/s)