import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines from math import pi C,r,R = map(int,read().split()) x = (R - r) / 2 S = pi * x * x V = S * (R + r) * pi answer = C * V print(answer)