A higher resolution is required to access the IDE
- 216
Statement
Goal
You are given 2 expressions representing 2 numbers written in roman numerals.You have to provide the result of the sum of these 2 numbers, also in roman numerals.
The character
The character
The character
Input
Line 1 : Rom1 (the 1st number in roman numerals)
Line 2 : Rom2 (the 2nd number in roman numerals)
Line 2 : Rom2 (the 2nd number in roman numerals)
Output
The result of Rom1 + Rom2 written in roman numerals
Constraints
1 ≤ Rom1 ≤ 4999
1 ≤ Rom2 ≤ 4999
1 ≤ Rom1 + Rom2 ≤ 4999
1 ≤ Rom2 ≤ 4999
1 ≤ Rom1 + Rom2 ≤ 4999
Example
Input
VI VII
Output
XIII
A higher resolution is required to access the IDE