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