• + 0 comments
        N = int(input())
        list = []
        [(print(list) if c == 'print' else getattr(list, c.split(" ")[0])(*(int(x) for x in c.split(" ")[1:]))) for c in [input() for c in range(0,N)]]