% Here is a LaTeX template for CS161 homework.  There is also an example homework (HW0) available on the website (on the Resources page) which shows you how to do things like include images, write pseudocode, and so on.

\documentclass{article}
\usepackage{fullpage,graphicx}
\usepackage{amsmath,amsfonts,amsthm,amssymb}
\usepackage{algorithmic}
\usepackage[ruled,vlined,commentsnumbered,titlenotnumbered]{algorithm2e}

\begin{document}
\noindent
YOUR NAME HERE \hfill \textbf{CS161 Problem Set N} \newline 
DATE GOES HERE 

\noindent
\rule{\linewidth}{0.4pt}


\section*{Exercises}

\begin{enumerate}

\item Your answer to the first exercise might go here.

\item Your answer to the second exercise goes here.

\end{enumerate}

\section*{Problems}

\begin{enumerate}

\item Your answer to the first problem goes here.

\item Your answer to the second problem goes here.

\end{enumerate}


\end{document}
