$\+=($n="1E@-"%9995)-$\%$n*2while$/=\1,IXCMVLD=~<>;print
####
$\+=($n="1E@-"%9995)-$\%$n*2while$/=\1,IXCMVLD=~<>;print
$\+=$n-2*$n%($n="1E@-"%9995)while$/=\1,IXCMVLD=~<>;print
$\+=$n-2*$\%($n="1E@-"%9995)while$/=\1,IXCMVLD=~<>;print
$\+=($n=IXCMVLD=~$_*"1E@-"%9995)-$\%$n*2for<>=~/./g;print
$\+=$'-$\%$'*2while$/=\1,I1V5X10L50C100D500M1e3=~<>;print
$\+=I1V5X10L50C100D500M1e3=~$_*$'-$\%$'*2for<>=~/./g;print
$\+=($n=(IXCMVLD=~$_."E@-")%9995)-$\%$n*2for<>=~/./g;print
$\+=($n=VLD=~$_*5+IXCM=~$_."E@-")-$\%$n*2for<>=~/./g;print
$\+=M999D499C99L49X9V4I=~$_+$'-2*$\%($'+1)for<>=~/./g;print
$\+=($n=10**index(IXCMVLD,$_)%9995)-$\%$n*2for<>=~/./g;print
$\+=s//IXCMVLD=~$&."E@-%9995"/ee*$_-$\%$_*2for<>=~/./g;print
D6L5V4M3C2X1=~$_,$\+=($n="1E$'"%9995)-$\%$n*2for<>=~/./g;print
$\+=$n-2*$n%($n=uppp&7**(9671487%ord()/15)x1)for<>=~/./g;print
# update: some more after finding getc
$\+=($n=1+substr'004999',"@-",3)-$\%$n*2while VLDMCXI=~getc;print
$\+=$'-$\%$'*2while I1V5X10L50C100D500M1e3=~getc;print
$\+=($n="1E@-"%9995)-$\%$n*2while IXCMVLD=~getc;print
##
##
$b=++$I;$$_=$b*=$^F^=7for V,X,L,C,D,M;
$\+=$n-$\%$n*2while$n=${+getc};print
##
##
=$t;