from axelrod.action import Action, actions_to_str
from axelrod.player import Player
from axelrod.strategy_transformers import (
    FinalTransformer,
    TrackHistoryTransformer,
)
lIIlIlIllIIl, lIIIlIlll = Action.C, Action.D
class llIIllIlIll(Player):
    lIlIlIlII = "strategy"
    IllIIlIIIlll = {
        "memory_depth": 1,  
        "stochastic": False,
        "long_run_time": False,
        "inspects_source": False,
        "manipulates_source": False,
        "manipulates_state": False,
    }
    @staticmethod
    def IIIIIIlIIIIllIIl(IllIlIlIlIllllIIlllI: Player) -> Action:
        return lIIlIlIllIIl if IllIlIlIlIllllIIlllI.history[-1:] == [lIIlIlIllIIl] else lIIIlIlll