def assign_tenure_bucket(tenure):
    """Bucket tenure into one of three groups"""
    if tenure < 2:
        return "less than two"
    elif tenure < 5:
        return "between two and five"
    else:
        return "more than five"