queue = []
def enqueue():
    e = input("Enter the element: ")
    queue.append(e)
    print(e,"is added to queue")
def dequeue():
    if not queue:
        print('queue is empty ')
    else:
        e=queue.pop(0)
        print("removed element is:",e)
def display():
    print(queue)
while True:
    print('Select the operation 1. add 2. remove 3. show 4. quit ')
    choice=int(input())
    if choice == 1:
        enqueue()
    elif choice == 2:
        dequeue()
    elif choice == 3:
        display()
    elif choice == 4:
        break
    else:
        print("Enter the correct operation from the list ")
