\documentclass[12pt]{article}
\usepackage{comment}
\usepackage{wrapfig}
\usepackage{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{graphicx}
\usepackage{lastpage}
\usepackage{enumerate}
\fancyhf{}
\lhead{\nouppercase{\leftmark}}
\fancyhead[C]{Team \#TODO}
\fancyhead[R]{\thepage\ of \pageref{LastPage}}
\usepackage{listings}

\begin{document}
\thispagestyle{empty}
\section{First Section}
\subsection{First Subsection}
$x + y = z$
\newpage
\begin{lstlisting}
loop do
   i = i + 1
   break
end
\end{lstlisting}
\end{document}
