from math import pi h, r = map(float, input().split()) print(h * r * pi * 7 / 360)