import math cal = int(input()) a, b = map(int, input().split()) print(cal * (math.pi ** 2) * (a + b) * ((b - a) ** 2) / 4)