Explanation of Ternary