<sum>
  <inputs>
    <figure id="1">4</figure>
    <figure id="2">8</figure>
  </inputs>
  <outputs>12</outputs>
</sum>