if int(input()) % int(input()):
   print("not divisible")
else:
   print("divisible")