p = list(map(int,input().split())) p = sorted(p,reverse=True) print((p[0]+p[1])/(sum(p)))