Input (grade 12): Steam power - The improved steam engine invented by James Watt was initially mainly used for pumping out mines, but from the 1780s was applied to power machines.
Output (grade 8): The steam engine, invented by James Watt around 1776 was used to power the factories and pump out the deeper mines.