import math c = int(input()) r1,r2=map(int,input().split()) d=(r2+r1)/2 s=math.pi*(((r2-r1)/2)**2) v=2*math.pi*d*s print(v*c)