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