def    A				(							UpperCAmelCase = 1_000				):
					return sum(2 * a * ((a - 1) // 2) for a in range(3  ,  n + 1				)				)


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






import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


__lowerCAmelCase :str     =    logging.get_logger(__name__)






class        _a(    __A    ):







		def __init__(    self ,						*__snake_case ,						**__snake_case				)      ->      None:


							'''simple docstring'''

							warnings.warn(
							    "The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
							    " Please use VideoMAEImageProcessor instead." ,						__snake_case ,						)
							super().__init__(*__snake_case ,						**__snake_case				)