from math import ceil
def       A	(    _lowercase = 1_001						):
						SCREAMING_SNAKE_CASE							:    Any							=							1

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

						return total


if __name__ == "__main__":
					import sys

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






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__UpperCamelCase		:       Tuple									=     {
    'configuration_swiftformer': [
        'SWIFTFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'SwiftFormerConfig',
        'SwiftFormerOnnxConfig',
    ]
}

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					__UpperCamelCase		:       Optional[Any]									=     [
					    'SWIFTFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
					    'SwiftFormerForImageClassification',
					    'SwiftFormerModel',
					    'SwiftFormerPreTrainedModel',
					]

if TYPE_CHECKING:
					from .configuration_swiftformer import (
					    SWIFTFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
					    SwiftFormerConfig,
					    SwiftFormerOnnxConfig,
					)

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_swiftformer import (
										    SWIFTFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
										    SwiftFormerForImageClassification,
										    SwiftFormerModel,
										    SwiftFormerPreTrainedModel,
										)

else:
					import sys

					__UpperCamelCase		:       List[Any]									=     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)





