import sys def isAlly(ally): return 0 def isEnemy(enemy): if enemy == 'townsperson': return 1 return 0