Input (grade 2): It was the first decade of the 18th century.
Output (grade 2): King William III of England and Scotland (1689 - 1702).