system a

 NB! Multiple inputs and outputs are not implemented -  TBD for the
system B and C. Then we can tweak A.