def cigar_party(cigars, is_weekend):
  while is_weekend is True:
    if cigars>=40:
      return True
    else:
      return False
  else:
    if cigars<40:
      return False
    elif cigars>60:
      return False
    return True  
