






lowercase  :							Dict			  =    [
    (10_00, '''M'''),
    (9_00, '''CM'''),
    (5_00, '''D'''),
    (4_00, '''CD'''),
    (1_00, '''C'''),
    (90, '''XC'''),
    (50, '''L'''),
    (40, '''XL'''),
    (10, '''X'''),
    (9, '''IX'''),
    (5, '''V'''),
    (4, '''IV'''),
    (1, '''I'''),
]

def      lowerCAmelCase__	(    _a       :			str    ):
		snake_case_				:							Tuple						 =       {"I": 1, "V": 5, "X": 10, "L": 50, "C": 1_00, "D": 5_00, "M": 10_00}
		snake_case_				:							Optional[int]						 =       0
		snake_case_				:							str						 =       0
		while place < len(_a    ):
				if (place + 1 < len(_a    )) and (vals[roman[place]] < vals[roman[place + 1]]):
						total += vals[roman[place + 1]] - vals[roman[place]]
						place += 2
				else:
						total += vals[roman[place]]
						place += 1
		return total

def      lowerCAmelCase__	(    _a       :			int    ):
		snake_case_				:							Dict						 =       []
		for arabic, roman in ROMAN:
				((snake_case_) ,       (snake_case_))				:							str						 =       divmod(_a  ,      _a    )
				result.append(roman * factor    )
				if number == 0:
						break
		return "".join(_a    )


if __name__ == "__main__":
							import doctest

							doctest.testmod()








def      lowerCAmelCase__	(    _a       :			int    ):
		snake_case_				:							str						 =       1
		for i in range(1  ,      num + 1    ):
				fact *= i
		return fact

def      lowerCAmelCase__	(    _a       :			int    ):
		snake_case_				:							List[str]						 =       0
		while number > 0:
				snake_case_				:							Dict						 =       number % 10
				sum_of_digits += last_digit
				snake_case_				:							List[Any]						 =       number // 10  # Removing the last_digit from the given number
		return sum_of_digits

def      lowerCAmelCase__	(    _a       :			int = 1_00    ):
		snake_case_				:							Optional[Any]						 =       factorial(_a    )
		snake_case_				:							Optional[int]						 =       split_and_add(_a    )
		return result


if __name__ == "__main__":
							print(solution(int(input('''Enter the Number: ''').strip())))
