from math import pi c=int(input()) ri,ro=list(map(int,input().split(" "))) r=(ro-ri)/2 R=ri+r v=2*pi*pi*r*r*R print(v*c)