import math C = int(raw_input()) rin, rout = map(float, raw_input().split()) sectionr = (rout - rin) / 2 section = sectionr * sectionr * math.pi vol = section * math.pi * (rout + rin) print vol * C