From Codeforces
import math
r = int(input()) h = int(input())
v = (math.pi math.pow(r, 2) h) / 3
print(v)