C = int(input()) RI,RO = map(int,input().split()) V = 2*(3.141592653589793238462643383279502884)**2*((RO-RI)/2)**2*((RO+RI)/2) print(V*C)