Circuit getinputs and outputs