print('Stack method')
stack = [1, 2, 3]

stack.append(4)
stack.append(5)
print('No.1')
print(stack)
print('No.2')
print(stack.pop())
print(stack)
print('No.3')
print(stack.pop())
print(stack.pop())
print(stack)