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