Supramolecular logic with macrocyclic input and competitive reset.

Supramolecular logic with macrocyclic input and competitive reset.