node17 = {
    "is_text": True,
    "string": "DE",
    "children" : []
}
node16 = {
    "is_text": True,
    "string": "BC",
    "children" : []
}
node15 = {
    "is_text": True,
    "string": "YZ",
    "children" : []
}
node14 = {
    "is_text": True,
    "string": "E",
    "children" : []
}
node13 = {
    "is_text": True,
    "string": "D",
    "children" : []
}
node12 = {
    "is_text": True,
    "string": "C",
    "children" : []
}
node11 = {
    "is_text": True,
    "string": "N",
    "children" : []
}
node10 = {
    "is_text": True,
    "string": "Z",
    "children" : []
}
node9 = {
    "is_text": True,
    "string": "XY",
    "children" : []
}
node8 = {
    "is_text": True,
    "string": "A",
    "children" : [node16, node17]
}
node7 = {
    "is_text": True,
    "string": "WX",
    "children" : [node15]
}
node6 = {
    "is_text": True,
    "string": "AB",
    "children" : [node12, node13, node14]
}
node5 = {
    "is_text": False,
    "string": None,
    "children" : [node11]
}
node4 = {
    "is_text": True,
    "string": "W",
    "children" : [node9, node10]
}
node3 = {
    "is_text": False,
    "string": None,
    "children" : [node7, node8]
}
node2 = {
    "is_text": True,
    "string": "MN",
    "children" : [node4, node5, node6]
}
node1 = {
    "is_text": True,
    "string": "Q",
    "children" : [node2, node3]
}