Ternary
564