\SetNlSty{texttt}{[}{]}
\SetAlgoNlRelativeSize{0}
\SetNlSkip{0em}
\nl\KwIn{input data}
\nl\KwOut{output data}
\nl\tcc{a comment line in C-style}
\nl\Repeat{\nl$e<\tau$}{
  \nl$f_n\leftarrow Y_1$\;
  \nl$f_{n+1}\leftarrow f_n\times f_{n-1}$\;
  \nl$e\leftarrow \frac{f_n}{2}$\;
}
\nl\KwRet{$e$}