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