def Main(): d=int(input()) a,b=map(int,input().split()) print(d*a//(a+b)*a*2) Main()