import math c = float(raw_input()) ri,ro = map(float,raw_input().split()) d = (ro-ri)/2 print d*d*math.pi * 2.0*math.pi*(ri+d) * c