lambda x:x+1

class name:
    def __init__(self):
        self.__list = {}
    def DEF(self,R):
        self.__list[R] = len(self.__list)
    def get(self,R):
        return self.__list[R]
    def MOVE(self,R,L):
        self.__list[R] = self.__list.pop(L)
        
A = name()
A.DEF("AHO")
for P in range(5):
    A.DEF("BAKA")
    A.MOVE("AHO","BAKA")
    A.DEF(P)
print(A.get("AHO"))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: