import math c = int(input()) r_in,r_out = map(int, input().split()) ans = c * math.pi ** 2 * (r_out - r_in) ** 2 * (r_out + r_in) / 4 print(ans)