C = int(input()) r,R = map(int,input().split()) import math a = (R - r) / 2 b = (R + r) * math.pi volume = (a ** 2) * math.pi * b print(volume * C)