wacky ternary