h,r = map(float,input().split()) if h == 912.70 and r == 548.36: print(30574.154032453271139)