



__snake_case				:		int										=[
    (1_0_0_0, 'M'),
    (9_0_0, 'CM'),
    (5_0_0, 'D'),
    (4_0_0, 'CD'),
    (1_0_0, 'C'),
    (9_0, 'XC'),
    (5_0, 'L'),
    (4_0, 'XL'),
    (1_0, 'X'),
    (9, 'IX'),
    (5, 'V'),
    (4, 'IV'),
    (1, 'I'),
]






def 	lowerCAmelCase__		(    lowerCamelCase_		:		str):





				'''simple docstring'''

				lowerCAmelCase__     :				Tuple												=     {'''I''': 1, '''V''': 5, '''X''': 10, '''L''': 50, '''C''': 100, '''D''': 500, '''M''': 1000}
				lowerCAmelCase__     :				List[Any]												=     0
				lowerCAmelCase__     :				Any												=     0
				while place < len(lowerCamelCase_):
								if (place + 1 < len(lowerCamelCase_)) 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__		(    lowerCamelCase_		:		int):





				'''simple docstring'''

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


if __name__ == "__main__":
							import doctest

							doctest.testmod()





'''simple docstring'''

from __future__ import annotations

def _SCREAMING_SNAKE_CASE      (A       )       ->       bool:






       """simple docstring"""







       return len(set(A       )       ) == len(A       )


if __name__ == "__main__":
 import doctest

 doctest.testmod()




