$@=29628;s/./y$ IIVCXL426 (-:V$XIVX LMCDIVX$dfor$$_ .=5x$&*8% $@;$$$_=$ _/egfor-4e3..0; $;=qq/LXX IV+CXVII+ CXV +CX VI+ XXX II+ XCV II+ CX+ CXI +CX VI+ CIV +CI +CX IV+ XXX II+ LXX X+C I+C XIV +CV III +XX XII +CI V+X CVI I+X CIX +CV II+ CI+ CXI V+X LIV +X+ XLV III C+C MII XV+ DXI M+I MCC MCM +XXIII DCI MMV+II C+I MMVIII /;$;=~s/\s+//g; print+ eval(join+q/./, map-${ $_},+split/\+/, ~~$;);
Inspired by Erudil's, There can be only one!, My 2 cents worth, my own The Power of Three, and (of course) thospel's original magic formula.

For those of you who prefer signatures and want (at least a little) more insight into what's going on:
s/./y$IVCXL426(-:$XLMCDIVX$dfor$$_.=5x$&*8%29628;$$$_=$_/egfor-4e3..0; print+eval(join+qq/./,+map-${$_},split/\+|\n/,+qq/LXXIV+CXVII+CXV+CXVI XXXII+XCVII+CX+CXI+CXVI+CIV+CI+CXIV+XXXII+LXXX+CI+CXIV+CVIII+XXXII+CIV XCVII+XCIX+CVII+CI+CXIV+XLIV+X/)

In reply to Just another HART (Hospelian Arabic to Roman Transform) JAPH by o0lit3

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.