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