# Generated Python Strategy for: Qwen-72B (Qwen_72B_InitialAgent)
# LLM API: huggingface, Model: Qwen/Qwen2.5-72B-Instruct
# Based on: Qwen_72B_InitialAgent_strategy.txt
# Effective Fallback: C

def Qwen_72B_InitialAgent(my_history: list, opp_history: list, opponent_program_code: str) -> str:
    if not opp_history:
        return "C"
    if len(opp_history) == 1:
        if opp_history[0] == "D":
            return "D"
        else:
            return "C"
    if opponent_program_code == Qwen_72B_InitialAgent.__code__.co_code:
        return "C"
    if random.random() < 0.1:
        return "D"
    if "defect" in opponent_program_code.lower() or "always_defect" in opponent_program_code.lower():
        if random.random() < 0.2:
            return "D"
        else:
            return "C"
    return opp_history[-1]