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