queue = [1, 2, 3, 4, 5] for i in range(2): queue.pop(0) print(queue) a = input() queue.append(int(a)) print(queue)