def main(): pqr = list(map(int, input().split())) p, q, r = sorted(pqr) S = p + q + r return (q + r) / S print(main())