



"""simple docstring"""






lowerCAmelCase__              =							[
    (1000, '''M'''),
    (900, '''CM'''),
    (500, '''D'''),
    (400, '''CD'''),
    (100, '''C'''),
    (90, '''XC'''),
    (50, '''L'''),
    (40, '''XL'''),
    (10, '''X'''),
    (9, '''IX'''),
    (5, '''V'''),
    (4, '''IV'''),
    (1, '''I'''),
]






def 			snake_case_    ( A_   :						str		):


       '''simple docstring'''





       _lowerCamelCase		:							Union[str, Any]            =					{'''I''': 1, '''V''': 5, '''X''': 10, '''L''': 50, '''C''': 1_00, '''D''': 5_00, '''M''': 10_00}
       _lowerCamelCase		:							List[Any]            =					0
       _lowerCamelCase		:							int            =					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 			snake_case_    ( A_   :						int		):


       '''simple docstring'''





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


if __name__ == "__main__":
   import doctest

   doctest.testmod()









from math import factorial






def 				_UpperCAmelCase			(    A = 20     ):




   '''simple docstring'''

   UpperCAmelCase__						=2 * n  # middle entry of odd rows starting at row 3 is the solution for n = 1,
   # 2, 3,...
   UpperCAmelCase__						=n // 2

   return int(factorial(A     ) / (factorial(A     ) * factorial(n - k     ))     )


if __name__ == "__main__":
    import sys

    if len(sys.argv) == 1:
        print(solution(20))
    else:
        try:
            UpperCamelCase_												=	int(sys.argv[1])
            print(solution(n))
        except ValueError:
            print('Invalid entry - please enter a number.')



