import math C = int(input()) Rin, Rout = list(map(int, input().split())) gx = (Rout + Rin) / 2 S = ((Rout - Rin) / 2) ** 2 * math.pi V = 2 * math.pi * gx * S ans = V * C print(ans)