C = int(input()) a,b = map(int,input().split()) from math import pi ans = (a + b) * (b - a) * (b - a) * pi * pi * C print(ans)