L = list(map(int,input().split()))
print((sum(L)-min(L))/sum(L))