from math import pi C = int(input()) A, B = map(int, input().split()) s1 = ((B-A)/2)**2*BrokenPipeError s = s1 * 2*(B+A)/2*pi print(s*C)