


_SCREAMING_SNAKE_CASE     :					Union[str, Any]      =       {
    "meter": "m",
    "kilometer": "km",
    "megametre": "Mm",
    "gigametre": "Gm",
    "terametre": "Tm",
    "petametre": "Pm",
    "exametre": "Em",
    "zettametre": "Zm",
    "yottametre": "Ym",
}
# Exponent of the factor(meter)
_SCREAMING_SNAKE_CASE     :					str      =       {
    "m": 0,
    "km": 3,
    "Mm": 6,
    "Gm": 9,
    "Tm": 12,
    "Pm": 15,
    "Em": 18,
    "Zm": 21,
    "Ym": 24,
}
def      UpperCAmelCase__		(UpperCamelCase_				,UpperCamelCase_				,UpperCamelCase_							):



     """simple docstring"""






     snake_case											=							from_type.lower().strip('''s'''							)
     snake_case											=							to_type.lower().strip('''s'''							)

     snake_case											=							UNIT_SYMBOL.get(UpperCamelCase_				,UpperCamelCase_							)
     snake_case											=							UNIT_SYMBOL.get(UpperCamelCase_				,UpperCamelCase_							)

     if from_sanitized not in METRIC_CONVERSION:
          snake_case											=							(
              F'''Invalid \'from_type\' value: {from_type!r}.\n'''
              F'''Conversion abbreviations are: {", ".join(UpperCamelCase_							)}'''
          )
          raise ValueError(UpperCamelCase_							)
     if to_sanitized not in METRIC_CONVERSION:
          snake_case											=							(
              F'''Invalid \'to_type\' value: {to_type!r}.\n'''
              F'''Conversion abbreviations are: {", ".join(UpperCamelCase_							)}'''
          )
          raise ValueError(UpperCamelCase_							)
     snake_case											=							METRIC_CONVERSION[from_sanitized]
     snake_case											=							METRIC_CONVERSION[to_sanitized]
     snake_case											=							1

     if from_exponent > to_exponent:
          snake_case											=							from_exponent - to_exponent
     else:
          snake_case											=							-(to_exponent - from_exponent)

     return value * pow(10				,UpperCamelCase_							)


if __name__ == "__main__":
 from doctest import testmod

 testmod()








def      UpperCAmelCase__		(UpperCamelCase_ = 10_00							):



     """simple docstring"""






     return sum(2 * a * ((a - 1) // 2) for a in range(3				,n + 1							)							)


if __name__ == "__main__":
 print(solution())




