from math import pi def main(): C = int(input()) Ri, Ro = map(int, input().split()) r = 2 * pi * (Ro + Ri) / 2 s = ((Ro - Ri) / 2) ** 2 * pi v = r * s print(v * C) main()