import math c = int(input()) ri, ro =map(int, input().split()) r = (ro - ri) / 2 print(2 * math.pi ** 2 * r ** 2 * (ri + r) * c)