Which of the following made factories more efficient and cheaper to operate?

- The cotton gin
- The flying shuttle
- The steam engine
- The telegraph

The steam engine