print '<pre>';
while(<>) {
  s/&/&amp;/g;
  s/</&lt;/g;
  s/>/&gt;/g;
  print;
  }
print '</pre>';