def evaluate_truthfulness(input_text):
    # Step 1: Initialize a dictionary to store the statements and their relationships.
    statement_dict = {}

    # Step 2: Parse the input text to identify the statements and their relationships.
    statements = input_text.split("\n")
    for statement in statements:
        # Step 3: Add the statement to the dictionary if it's a new person.
        person, truthfulness = extract_person_and_truthfulness(statement)
        if person not in statement_dict:
            statement_dict[person] = []
        # Step 4: Update the dictionary with the new statement and its relationship to other statements.
        statement_dict[person].append(truthfulness)

    # Step 5: Check the final answer by looking up the person in question in the dictionary.
    person_in_question = input_text.split("\n")[-1].split(" ")[0]
    final_answer = statement_dict[person_in_question]

    # Step 6: Return the result based on whether the person in question tells the truth or lies.
    if final_answer == "tells the truth":
        return "Yes"
    else:
        return "No"