I'm creating a set of mathematics worksheets, and I'd like to have an upside down "answer key" below a set of enumerated questions. Here is what I have at the moment:
\usepackage{graphicx}
Answers:
\rotatebox{180}{$1. \underline{5}$ $2.\underline{5}$
$3.\underline{10}$ $4.\underline{8}$}
This produces the following:

Given that all the answers are in the same format (problem number, then an underlined answer), is there a way to create a command that would produce the formatted text (I can add the \rotatebox myself) for a set of values?
I'm thinking something like this:
\createanswerbox[5,5,10,4]
