import math PI = math.pi c = int(input()) i, o = map(int, input().split()) r = (o-i)/2 ans = PI*r*r*2*PI*(i+o)/2*c print(f"{ans:.10f}")