radius = float(input())
height = float(input())
pi = 3.14
volume = float((radius ** 2 * pi) * height)
print (radius,"unit(s) = radius")
print (height,"unit(s) = height")
print (round(volume, 1),"units cubed")