P=sorted(map(int,input().split())) print(sum(P[:2])/sum(P))