Input (grade 4): Charles VI, Holy Roman Emperor (1711 - 1740).
Output (grade 4): Joseph I, Holy Roman Emperor (1705 - 1711).