{
  "allInput": {
    "1": {
      "id": 1,
      "name": "1",
      "type": "none"
    },
    "2": {
      "id": 2,
      "name": "2",
      "type": "none"
    }
  },
  "gateLinks": [
    {
      "gate": {
        "position": {
          "x": -1,
          "y": -3
        },
        "id": 1,
        "name": "1",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": 1,
          "y": -3
        },
        {
          "x": 0,
          "y": -3
        },
        {
          "x": 0,
          "y": -3
        }
      ],
      "outputGate": {
        "position": {
          "x": 2,
          "y": -3
        },
        "id": 3,
        "name": "3",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -1,
          "y": 1
        },
        "id": 2,
        "name": "2",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": 1,
          "y": 1
        },
        {
          "x": 0,
          "y": 1
        },
        {
          "x": 0,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": 2,
          "y": 1
        },
        "id": 4,
        "name": "4",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": 2,
          "y": -3
        },
        "id": 3,
        "name": "3",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -2,
          "y": 0
        },
        {
          "x": -1,
          "y": 0
        },
        {
          "x": 3,
          "y": 0
        },
        {
          "x": 3,
          "y": -3
        },
        {
          "x": 3,
          "y": -3
        }
      ],
      "outputGate": {
        "position": {
          "x": -1,
          "y": 1
        },
        "id": 2,
        "name": "2",
        "type": "Or",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": 2,
          "y": 1
        },
        "id": 4,
        "name": "4",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -2,
          "y": -2
        },
        {
          "x": -1,
          "y": -2
        },
        {
          "x": 3,
          "y": -2
        },
        {
          "x": 3,
          "y": 1
        },
        {
          "x": 3,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": -1,
          "y": -3
        },
        "id": 1,
        "name": "1",
        "type": "Or",
        "interfaceType": "B"
      }
    },
    {
      "gate": {
        "position": {
          "x": 2,
          "y": 1
        },
        "id": 4,
        "name": "4",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": 4,
          "y": 2
        },
        {
          "x": 3,
          "y": 2
        },
        {
          "x": 3,
          "y": 1
        },
        {
          "x": 3,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": 5,
          "y": 1
        },
        "id": 6,
        "name": "6",
        "type": "Or",
        "interfaceType": "B"
      }
    },
    {
      "gate": {
        "position": {
          "x": 2,
          "y": -3
        },
        "id": 3,
        "name": "3",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": 4,
          "y": -4
        },
        {
          "x": 3,
          "y": -4
        },
        {
          "x": 3,
          "y": -3
        },
        {
          "x": 3,
          "y": -3
        }
      ],
      "outputGate": {
        "position": {
          "x": 5,
          "y": -3
        },
        "id": 5,
        "name": "5",
        "type": "Or",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": -4,
          "y": -3
        },
        "id": 7,
        "name": "7",
        "type": "And",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -2,
          "y": -4
        },
        {
          "x": -3,
          "y": -4
        },
        {
          "x": -3,
          "y": -3
        },
        {
          "x": -3,
          "y": -3
        }
      ],
      "outputGate": {
        "position": {
          "x": -1,
          "y": -3
        },
        "id": 1,
        "name": "1",
        "type": "Or",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": -4,
          "y": 1
        },
        "id": 8,
        "name": "8",
        "type": "And",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -2,
          "y": 2
        },
        {
          "x": -3,
          "y": 2
        },
        {
          "x": -3,
          "y": 1
        },
        {
          "x": -3,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": -1,
          "y": 1
        },
        "id": 2,
        "name": "2",
        "type": "Or",
        "interfaceType": "B"
      }
    },
    {
      "gate": {
        "position": {
          "x": -7,
          "y": -1
        },
        "id": 9,
        "name": "9",
        "type": "And",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -5,
          "y": -2
        },
        {
          "x": -5,
          "y": -1
        },
        {
          "x": -6,
          "y": -1
        }
      ],
      "outputGate": {
        "position": {
          "x": -4,
          "y": -3
        },
        "id": 7,
        "name": "7",
        "type": "And",
        "interfaceType": "B"
      }
    },
    {
      "gate": {
        "position": {
          "x": -7,
          "y": -1
        },
        "id": 9,
        "name": "9",
        "type": "And",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -5,
          "y": 0
        },
        {
          "x": -5,
          "y": -1
        },
        {
          "x": -6,
          "y": -1
        }
      ],
      "outputGate": {
        "position": {
          "x": -4,
          "y": 1
        },
        "id": 8,
        "name": "8",
        "type": "And",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": -17,
          "y": -1
        },
        "id": 15,
        "name": "15",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -15,
          "y": 1
        },
        {
          "x": -15,
          "y": 0
        },
        {
          "x": -15,
          "y": -1
        },
        {
          "x": -16,
          "y": -1
        }
      ],
      "outputGate": {
        "position": {
          "x": -14,
          "y": 1
        },
        "id": 14,
        "name": "14",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -14,
          "y": 1
        },
        "id": 14,
        "name": "14",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -15,
          "y": 4
        },
        {
          "x": -15,
          "y": 3
        },
        {
          "x": -13,
          "y": 3
        },
        {
          "x": -13,
          "y": 1
        },
        {
          "x": -13,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": -14,
          "y": 4
        },
        "id": 13,
        "name": "13",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -14,
          "y": 4
        },
        "id": 13,
        "name": "13",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -14,
          "y": 7
        },
        {
          "x": -14,
          "y": 6
        },
        {
          "x": -13,
          "y": 6
        },
        {
          "x": -13,
          "y": 4
        },
        {
          "x": -13,
          "y": 4
        }
      ],
      "outputGate": {
        "position": {
          "x": -13,
          "y": 7
        },
        "id": 12,
        "name": "12",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -13,
          "y": 7
        },
        "id": 12,
        "name": "12",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -11,
          "y": 4
        },
        {
          "x": -11,
          "y": 5
        },
        {
          "x": -11,
          "y": 7
        },
        {
          "x": -12,
          "y": 7
        }
      ],
      "outputGate": {
        "position": {
          "x": -10,
          "y": 4
        },
        "id": 11,
        "name": "11",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -10,
          "y": 4
        },
        "id": 11,
        "name": "11",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -11,
          "y": 1
        },
        {
          "x": -11,
          "y": 2
        },
        {
          "x": -9,
          "y": 2
        },
        {
          "x": -9,
          "y": 4
        },
        {
          "x": -9,
          "y": 4
        }
      ],
      "outputGate": {
        "position": {
          "x": -10,
          "y": 1
        },
        "id": 10,
        "name": "10",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -10,
          "y": 1
        },
        "id": 10,
        "name": "10",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -8,
          "y": 0
        },
        {
          "x": -8,
          "y": 1
        },
        {
          "x": -9,
          "y": 1
        }
      ],
      "outputGate": {
        "position": {
          "x": -7,
          "y": -1
        },
        "id": 9,
        "name": "9",
        "type": "And",
        "interfaceType": "B"
      }
    },
    {
      "gate": {
        "position": {
          "x": -17,
          "y": -1
        },
        "id": 15,
        "name": "15",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -8,
          "y": -2
        },
        {
          "x": -9,
          "y": -2
        },
        {
          "x": -9,
          "y": -1
        },
        {
          "x": -16,
          "y": -1
        }
      ],
      "outputGate": {
        "position": {
          "x": -7,
          "y": -1
        },
        "id": 9,
        "name": "9",
        "type": "And",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": -20,
          "y": -4
        },
        "id": 16,
        "name": "16",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -18,
          "y": -4
        },
        {
          "x": -19,
          "y": -4
        },
        {
          "x": -19,
          "y": -4
        }
      ],
      "outputGate": {
        "position": {
          "x": -17,
          "y": -4
        },
        "id": 17,
        "name": "17",
        "type": "Not",
        "interfaceType": "input"
      }
    },
    {
      "gate": {
        "position": {
          "x": -17,
          "y": -4
        },
        "id": 17,
        "name": "17",
        "type": "Not",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -5,
          "y": -4
        },
        {
          "x": -6,
          "y": -4
        },
        {
          "x": -16,
          "y": -4
        }
      ],
      "outputGate": {
        "position": {
          "x": -4,
          "y": -3
        },
        "id": 7,
        "name": "7",
        "type": "And",
        "interfaceType": "A"
      }
    },
    {
      "gate": {
        "position": {
          "x": -20,
          "y": -4
        },
        "id": 16,
        "name": "16",
        "type": "Or",
        "interfaceType": "output"
      },
      "lineTo": [
        {
          "x": -5,
          "y": 2
        },
        {
          "x": -6,
          "y": 2
        },
        {
          "x": -19,
          "y": 2
        },
        {
          "x": -19,
          "y": -4
        },
        {
          "x": -19,
          "y": -4
        }
      ],
      "outputGate": {
        "position": {
          "x": -4,
          "y": 1
        },
        "id": 8,
        "name": "8",
        "type": "And",
        "interfaceType": "B"
      }
    }
  ],
  "allGate": {
    "10": {
      "position": {
        "x": -10,
        "y": 1
      },
      "id": 10,
      "name": "10",
      "type": "Not",
      "interfaceType": "output"
    },
    "2": {
      "position": {
        "x": -1,
        "y": 1
      },
      "id": 2,
      "name": "2",
      "type": "Or",
      "interfaceType": "B"
    },
    "15": {
      "position": {
        "x": -17,
        "y": -1
      },
      "id": 15,
      "name": "15",
      "type": "Or",
      "interfaceType": "output"
    },
    "3": {
      "position": {
        "x": 2,
        "y": -3
      },
      "id": 3,
      "name": "3",
      "type": "Not",
      "interfaceType": "output"
    },
    "11": {
      "position": {
        "x": -10,
        "y": 4
      },
      "id": 11,
      "name": "11",
      "type": "Not",
      "interfaceType": "output"
    },
    "16": {
      "position": {
        "x": -20,
        "y": -4
      },
      "id": 16,
      "name": "16",
      "type": "Or",
      "interfaceType": "output"
    },
    "4": {
      "position": {
        "x": 2,
        "y": 1
      },
      "id": 4,
      "name": "4",
      "type": "Not",
      "interfaceType": "output"
    },
    "5": {
      "position": {
        "x": 5,
        "y": -3
      },
      "id": 5,
      "name": "5",
      "type": "Or",
      "interfaceType": "A"
    },
    "12": {
      "position": {
        "x": -13,
        "y": 7
      },
      "id": 12,
      "name": "12",
      "type": "Not",
      "interfaceType": "output"
    },
    "17": {
      "position": {
        "x": -17,
        "y": -4
      },
      "id": 17,
      "name": "17",
      "type": "Not",
      "interfaceType": "output"
    },
    "6": {
      "position": {
        "x": 5,
        "y": 1
      },
      "id": 6,
      "name": "6",
      "type": "Or",
      "interfaceType": "B"
    },
    "13": {
      "position": {
        "x": -14,
        "y": 4
      },
      "id": 13,
      "name": "13",
      "type": "Not",
      "interfaceType": "output"
    },
    "7": {
      "position": {
        "x": -4,
        "y": -3
      },
      "id": 7,
      "name": "7",
      "type": "And",
      "interfaceType": "A"
    },
    "8": {
      "position": {
        "x": -4,
        "y": 1
      },
      "id": 8,
      "name": "8",
      "type": "And",
      "interfaceType": "B"
    },
    "14": {
      "position": {
        "x": -14,
        "y": 1
      },
      "id": 14,
      "name": "14",
      "type": "Not",
      "interfaceType": "output"
    },
    "1": {
      "position": {
        "x": -1,
        "y": -3
      },
      "id": 1,
      "name": "1",
      "type": "Or",
      "interfaceType": "A"
    },
    "9": {
      "position": {
        "x": -7,
        "y": -1
      },
      "id": 9,
      "name": "9",
      "type": "And",
      "interfaceType": "A"
    }
  },
  "inputInterfaceName": {
    "2": "e",
    "1": "s"
  },
  "gatePackages": {},
  "outputInterfaceName": {
    "5": "Q"
  },
  "embedPackages": {},
  "inputLinks": [
    {
      "gate": {
        "position": {
          "x": -20,
          "y": -4
        },
        "id": 16,
        "name": "16",
        "type": "Or",
        "interfaceType": "A"
      },
      "input": {
        "id": 1,
        "name": "1",
        "type": "none"
      }
    },
    {
      "gate": {
        "position": {
          "x": -17,
          "y": -1
        },
        "id": 15,
        "name": "15",
        "type": "Or",
        "interfaceType": "A"
      },
      "input": {
        "id": 2,
        "name": "2",
        "type": "none"
      }
    }
  ]
}
