import math C=int(raw_input()) Rin,Rout=map(int,raw_input().split()) r=(Rout-Rin)/2.0 print r*r*math.pi*(r+Rin)*2*math.pi*C