Trinity S³AI

Compare at the first differing trit

Two numbers line up trit by trit; the first place from the top where they differ decides. The answer is itself a trit.