3 3 1 1 0 0 A 0 1 0 B -1 0 0 C 1 2 AB 2 3 BC 3 1 CA 1 2 3 ABC