Input (grade 13): The Bastille originated as the Saint-Antoine gate, but from 1370 - 1383 this gate was extended to create a fortress to defend the east end of Paris and the Hôtel Saint-Pol royal palace.
Output (grade 6): It defended the east end of Paris and the Hôtel Saint-Pol royal palace.