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