Tinput-Driven Pushdown, Counter, and Stack Automata