from axelrod.action import Action, actions_to_str
from axelrod.player import Player
from axelrod.strategy_transformers import (
    FinalTransformer,
    TrackHistoryTransformer,
)
IIIIllIlIlIlIIII, IllIlIII = Action.C, Action.D
class llllIlllIlllllIIlIl(Player):
    llIIlIIlIIlllII = "strategy"
    IIllIlII = {
        "memory_depth": 1,  
        "stochastic": False,
        "long_run_time": False,
        "inspects_source": False,
        "manipulates_source": False,
        "manipulates_state": False,
    }
    @staticmethod
    def IIIIIlllIlIlIlllIlII(lllllIllllIllIlllIIl: Player) -> Action:
        return IllIlIII if lllllIllllIllIlllIIl.history[-1:] == [IIIIllIlIlIlIIII] else IIIIllIlIlIlIIII