Multi-tape Turing machine with input and output