What are the predecessor inventions to the computer?

Typewriters & electric or manual calculating machines