<net>
  <input id='a' x='10' y='10' w='5' h='5'/>
  <input id='b' x='20' y='10' w='5' h='5'/>
  <input id='c' x='30' y='10' w='5' h='5'/>
  <gate type='and' x='15' y='50' w='15' h='5'>
    <input id='a'/>
    <input id='b'/>
    <input id='notc'/>
    <output id='and'/>
  </gate>
  <gate type='not' x='25' y='30' w='15' h='5'>
    <input id='c'/>
    <output id='notc'/>
  </gate>
  <gate type='xor' x='5' y='70' w='15' h='5'>
    <input id='a'/>
    <input id='and'/>
    <output id='x'/>
  </gate>
  <gate type='or' x='25' y='70' w='15' h='5'>
    <input id='and'/>
    <input id='notc'/>
    <input id='c'/>
    <output id='y'/>
  </gate>
  <output id='x' x='10' y='90' w='5' h='5'/>
  <output id='y' x='30' y='90' w='5' h='5'/>
</net>