C = int(input()) R1, R2 = map(int, input().split()) pi = 3.14159265358979323846264338 V = (pi*((R2-R1)/2)*((R2-R1)/2))*(pi*(R2+R1)) print(C*V)