--------------------------------------------------------------------------------
M-1000
D-500
C-100
X-10
V-5
I-1
--------------------------------------------------------------------------------
MMMDCCXCVI =
= MMDDDCCXCVI =
= 1000+1000+500+500+500+100+100+(100-10)+5+1=3796
--------------------------------------------------------------------------------
Ответ: 3796