Let A,B,C,D be (not necessarily square) four matrices such that AT=BCD; BT=CDA; CT=DAB and DT=ABC. If S=ABCD, then