\newcommand{\rom}[1]{\uppercase\expandafter{\romannumeral #1\relax}}