import math as m r = float(input()) x = float(input()) obim = 2 * r * m.pi rotacija = x // obim print("%.0f" % rotacija)