Deterministic

w =   F =



Logic
01
> ABA
 BAC
* CAB