D1 D2 D3 D4 target
A  B  C  D  1
A  B  D  D  0
A  D  D  D  1
C  A  A  A  0
C  D  C  A  0
C  B  C  A  0
A  A  C  A  0
C  D  A  A  0
C  A  C  A  0
A  D  D  D  1
A  B  C  D  1
C  C  D  A  1
A  C  A  D  1
C  A  A  A  0
A  C  C  A  1
A  B  D  A  1
