import math def solve(): C = int(input()) I, O = map(int, input().split()) s = math.pi * ((O - I) / 2) ** 2 print(C * 2 * math.pi * ((O + I) / 2) * s) if __name__ == '__main__': solve()