import math C = int(input()) R_in,R_out = map(int,input().split()) A = (R_out - R_in) / 2 B = R_in + A V = 2 * (A ** 2) * B * (math.pi ** 2) print(C * V)