import math C = int(input()) Rin, Rout = map(int, input().split()) Rin = (Rout - Rin) / 2 Rout -= Rin print(C * 2 * math.pi ** 2 * Rin ** 2 * Rout)