import math c = int(input()) rin, rout = map(int, input().split()) r = (rout-rin)/2 print((r*r*math.pi*((rin+rout)*math.pi))*c)