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