If this automaton accepts a single input, return it. Else, return null. The automaton must be deterministic.