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