TeX source:
\begin{array}{l} \text{Output:} \, M, \text{money remaining, in dollars} \\ \text{Input:} \, t, \, \text{time, in weeks} \end{array}