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