C = int(input()) Ri, Ro = map(int, input().split()) print((Ro - Ri) ** 2 / 4 * (3.141592 ** 2) * (Ro + Ri) * C)