try:
  import thread
  print 1
except:
  print 0
