from axelrod.action import Action, actions_to_str
from axelrod.player import Player
from axelrod.strategy_transformers import (
    FinalTransformer,
    TrackHistoryTransformer,
)
IlIlllIIlIIlIllllll, IllIIllI = Action.C, Action.D
class llllIllIlIIlIIIIIIlI(Player):
    lIllIlIlIllIIlIlIlll = "strategy"
    IIIIlIllllI = {
        "memory_depth": 2,  
        "stochastic": False,
        "long_run_time": False,
        "inspects_source": False,
        "manipulates_source": False,
        "manipulates_state": False,
    }
    @staticmethod
    def IIIIllIIIlIIllIlllII(IlIIlIIIIlllllIIlll: Player) -> Action:
        return IllIIllI if IllIIllI in IlIIlIIIIlllllIIlll.history[-2:] else IlIlllIIlIIlIllllll