




"""simple docstring"""






from math import ceil





def 							UpperCAmelCase		(		snake_case			:					int = 1001    ):
					_lowerCAmelCase:int									=  1

					for i in range(1      ,       int(ceil(n / 2.0    )    )    ):
										_lowerCAmelCase:Optional[Any]									=  2 * i + 1
										_lowerCAmelCase:List[str]									=  2 * i
										_lowerCAmelCase:int									=  total + 4 * odd**2 - 6 * even

					return total


if __name__ == "__main__":
				import sys

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












"""simple docstring"""






from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import torch

from ...utils import BaseOutput, OptionalDependencyNotAvailable, is_torch_available, is_transformers_available




@dataclass
class   a__			(       UpperCamelCase_  ):
						snake_case__             = 42


try:
				if not (is_transformers_available() and is_torch_available()):
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
				from .pipeline_text_to_video_synth import TextToVideoSDPipeline
				from .pipeline_text_to_video_synth_imgaimg import VideoToVideoSDPipeline  # noqa: F401
				from .pipeline_text_to_video_zero import TextToVideoZeroPipeline






