4 6 A<B A<C B<C C<D B<D A<B
Sorted sequence determined after 4 relations: ABCD.
3 2 A<B B<A
Inconsistency found after 2 relations.
26 1 A<Z
Sorted sequence cannot be determined.