C = int(input()) I, O = map(int, input().split()) import math print((math.pi**2)*((O*O)-(I*I))*(O-I)*C/4)