def identifyQuery(query):
    q_l: str = query
    if (q_l.__contains__('AND') or q_l.__contains__('OR') or q_l.__contains__('NOT')):
        return 'B'
    elif query.__contains__('/'):
        return 'PR'
    elif (len(q_l.split()) == 1):
        return 'S'
    else:
        return 'PO'
def identifyQuery(query):
    q_l: str = query
    if (q_l.__contains__('AND') or q_l.__contains__('OR') or q_l.__contains__('NOT')):
        return 'B'
    elif query.__contains__('/'):
        return 'PR'
    elif (len(q_l.split()) == 1):
        return 'S'
    else:
        return 'PO'