from re import VERBOSE


def gly(pointer, main_stack, aux_stack):
    """
    Gly
    If the main stack is non-empty, move the top element to the aux stack.
    """
    if VERBOSE:
        print("Gly", main_stack, aux_stack)
    if main_stack:
        aux_stack.append(main_stack.pop())
    return(pointer, main_stack, aux_stack)