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