Ternary representation of N (N = 1 or 2)-input and 1-output algorithmic self-assembly demonstrated by DNA. (3rd December 2019)