I have to design a BAM mathematically in which I have to store following input-output patterns:
S(1)=(1,1,0) t(1)=(1,0) S(2)=(0,1,0) t(2)=(0,1)