from axelrod.action import Action, actions_to_str
from axelrod.player import Player
from axelrod.strategy_transformers import (
    FinalTransformer,
    TrackHistoryTransformer,
)
IlIIlIII, llIllIllllIIIIIIllIl = Action.C, Action.D
class llIIlIlIl(Player):
    lIIlllllI = "strategy"
    IIIllIIIlllllIl = {
        "memory_depth": 2,  
        "stochastic": False,
        "long_run_time": False,
        "inspects_source": False,
        "manipulates_source": False,
        "manipulates_state": False,
    }
    @staticmethod
    def lllIllIllllllll(llIIIIllIIlIl: Player) -> Action:
        return llIllIllllIIIIIIllIl if llIIIIllIIlIl.history[-2:] == [llIllIllllIIIIIIllIl, llIllIllllIIIIIIllIl] else IlIIlIII