command_count = int(input()) array = [] for i in range(command_count): command = input().split() print(command) if command[0] == "insert":