import json


class Tree:
    def __init__(self, root, branches):
        self.root = root
        self.branches = branches

    def __repr__(self):
        # a = ' '.join(self.root) + ' '.join(self.branches)
        return json.dumps(self.branches) + self.root  # a

4ab38cb73baec7473bc2f75cf13e2f4ddd21c3ca
<mask token>


class Tree:
    <mask token>
    <mask token>

<mask token>


class Tree:

    def __init__(self, root, branches):
        self.root = root
        self.branches = branches
    <mask token>

<mask token>


class Tree:

    def __init__(self, root, branches):
        self.root = root
        self.branches = branches

    def __repr__(self):
        return json.dumps(self.branches) + self.root

import json


class Tree:

    def __init__(self, root, branches):
        self.root = root
        self.branches = branches

    def __repr__(self):
        return json.dumps(self.branches) + self.root

import json


class Tree:
    def __init__(self, root, branches):
        self.root = root
        self.branches = branches

    def __repr__(self):
        # a = ' '.join(self.root) + ' '.join(self.branches)
        return json.dumps(self.branches) + self.root  # a
