\usepackage{fancyvrb}
\DefineVerbatimEnvironment
  {code}{Verbatim}
  {numbers=left,frame=single}
  
\def\stdin{\emph{stdin}}
\def\stdout{\emph{stdout}}                                                      
