from math import pi C = int(input()) r, R = map(int, input().split()) print(f'{1 / 4 * pi * pi * (r + R) * (R - r) * (R - r) * C:.9f}')