



'''simple docstring'''
from collections import namedtuple

snake_case_					:      Optional[int]    			=    namedtuple('from_to', 'from_ to')

snake_case_					:      Tuple    			=    {
    'cubicmeter': from_to(1, 1),
    'litre': from_to(0.0_01, 1000),
    'kilolitre': from_to(1, 1),
    'gallon': from_to(0.0_04_54, 2_64.1_72),
    'cubicyard': from_to(0.7_64_55, 1.3_07_95),
    'cubicfoot': from_to(0.0_28, 35.31_47),
    'cup': from_to(0.0_00_23_65_88, 42_26.75),
}






def A__       (	UpperCAmelCase_    ,    UpperCAmelCase_    ,    UpperCAmelCase_				):
						if from_type not in METRIC_CONVERSION:
												raise ValueError(
												    f'Invalid \'from_type\' value: {from_type!r}  Supported values are:\n'
												    + ', '.join(UpperCAmelCase_				)				)
						if to_type not in METRIC_CONVERSION:
												raise ValueError(
												    f'Invalid \'to_type\' value: {to_type!r}.  Supported values are:\n'
												    + ', '.join(UpperCAmelCase_				)				)
						return value * METRIC_CONVERSION[from_type].from_ * METRIC_CONVERSION[to_type].to


if __name__ == "__main__":
					import doctest

					doctest.testmod()







'''simple docstring'''
def A__       (	UpperCAmelCase_ = 1_0_0_0				):
						_UpperCamelCase   :						List[str]												=  3
						_UpperCamelCase   :						Any												=  0
						while a < n:
												if a % 3 == 0 or a % 5 == 0:
																		result += a
												elif a % 1_5 == 0:
																		result -= a
												a += 1
						return result


if __name__ == "__main__":
					print(F"""{solution() = }""")


