Write lines in detention
JavaScript (ES6) 164
B='teen-hundreds were a time',alert(B.replace(/./g,
&quot;The eigh&quot;+B+&quot; for rum.\nThe nine&quot;+B+&quot; for fun.\nThe two-thousands are a time to run\na civilized classroom.\n&quot;))

Test In FireFox/FireBug console.