import math c = input() i,o = map(int,input().split()) print((o*o - i*i)*c*math.pi)