from axelrod.action import Action, actions_to_str
from axelrod.player import Player
from axelrod.strategy_transformers import (
    FinalTransformer,
    TrackHistoryTransformer,
)
IIllIlllIll, IIlllllIIlI = Action.C, Action.D
class IlIIIlIIl(Player):
    IIIlllllIIIllI = "strategy"
    llIIllIIIIlIll = {
        "memory_depth": 1,  
        "stochastic": False,
        "long_run_time": False,
        "inspects_source": False,
        "manipulates_source": False,
        "manipulates_state": False,
    }
    @staticmethod
    def lIIIlllllIIIIIlI(IIllIlIllIlIIllI: Player) -> Action:
        return IIllIlllIll if IIllIlIllIlIIllI.history[-1:] == [IIlllllIIlI] else IIlllllIIlI