<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\ProvidesPackage{numending}
\def\numending#1#2#3#4{\ifnum#1&gt;100
\numending{\numexpr#1-100\relax}{#2}{#3}{#4}\else \ifnum#1 &lt; 21
\ifnum#1&gt; 4 #4\else\ifnum#1=1 #2 \else#3\fi\fi\else \ifnum#1 &lt; 31
\numending{\numexpr#1-20\relax}{#2}{#3}{#4}\else
\numending{\numexpr#1-10\relax}{#2}{#3}{#4}\fi\fi\fi}</pre></body></html>