Z20286

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z20286"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z20285",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z20285(Z20285K1):\n    class Key:\n        def __init__(self, key_object, key_name, key_value):\n            self.name = key_name\n            self.value = key_value\n            self.type = key_object\n\n        def __str__(self):\n            value = str(self.value)\n            if type(self.value) is not ZObject:\n                value = f'\"{value}\"'\n            return f'\"Z{self.type}K{self.name}\": {value}'\n\n    class ZObject:\n        def __init__(self, keys):\n            self.keys = keys\n\n        def __str__(self):\n            out = \"\"\n            for key in self.keys:\n                out += str(key) + \",\\n\"\n            out = out[:-2]\n            return \"{\\n\" + out + \"\\n}\"\n\n    def createObject(type, keyValues):\n        return ZObject([Key(1, 1, \"Z\" + str(type))] + [Key(type, key + 1, value) for key, value in enumerate(keyValues)])\n\n    def createRawObject(type, keyValues):\n        return [Key(1, 1, \"Z\" + str(type))] + [Key(type, key + 1, value) for key, value in enumerate(keyValues)]\n\n    def Zcall(funcId, *args):\n        return ZObject(createRawObject(7, [\"Z\" + str(funcId)]) + [Key(funcId, key + 1, value) for key, value in enumerate(args)])\n\n    def Zstr(text):\n        return createObject(6, [text])\n\n    def Zbool(value):\n        if value:\n            return createObject(40, [\"Z41\"])\n        return createObject(40, [\"Z42\"])\n\n    def Znumber(value):\n        return createObject(13518, [value])\n\n    def Zsign(value):\n        if value \u003E= 1:\n            return createObject(16659, [\"Z16660\"])\n        if value == 0:\n            return createObject(16659, [\"Z16661\"])\n        return createObject(16659, [\"Z16662\"])\n\n    def Zint(value):\n        return createObject(16683, [Zsign(value), Znumber(abs(value))])\n\n    import re\n    def parse_and_call(pseudocode):\n        function_match = re.match(r\"Z(\\d+)\\((.*)\\)\", pseudocode)\n        if function_match:\n            func_id = int(function_match.group(1))\n            args_str = function_match.group(2)\n            args = re.findall(r'(?\u003C!\\\\)\"(?:\\\\\"|[^\"])*?\"|[^,]+', args_str)\n            parsed_args = []\n            for arg in args:\n                arg = arg.strip()\n                if arg.startswith('\"') and arg.endswith('\"'):\n                    parsed_args.append(Zstr(arg[1:-1]))\n                elif arg.isdigit():\n                    parsed_args.append(Znumber(int(arg)))\n                elif arg.startswith('-') and arg[1:].isdigit():\n                    parsed_args.append(Zint(int(arg)))\n                elif arg == \"True\" or arg == \"False\":\n                    parsed_args.append(Zbool(arg == \"True\"))\n                else: \n                    parsed_args.append(Zstr(arg))\n            return Zcall(func_id, *parsed_args)\n        else:\n            pseudocode = pseudocode.strip()\n            if pseudocode == \"True\" or pseudocode == \"False\":\n                return Zbool(pseudocode == \"True\")\n            try:\n                value = int(pseudocode)\n                if value \u003E= 0:\n                    return Znumber(value)\n                else:\n                    return Zint(value)\n            except ValueError:\n                return Zstr(pseudocode)\n    out = str(parse_and_call(Z20285K1))\n    import json\n    out = out.replace('\\n', '')\n    data = json.loads(out)\n    return data"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}