d = int(input()) a, b = map(int, input().split()) x = d*b//(a+b) ans = (a-b)*d*b//(a+b)+d*b print(ans)