





from math import ceil





def        _lowercase   (  _UpperCAmelCase = 10_01			)  ->					int:
    lowerCamelCase			=1

    for i in range(1     , int(ceil(n / 2.0			)			)			):
        lowerCamelCase			=2 * i + 1
        lowerCamelCase			=2 * i
        lowerCamelCase			=total + 4 * odd**2 - 6 * even

    return total


if __name__ == "__main__":
       import sys

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












import pytest
import requests

from datasets.utils.file_utils import http_head

from .utils import OfflineSimulationMode, RequestWouldHangIndefinitelyError, offline





@pytest.mark.integration
def        _lowercase   (  )  ->					str:
				with offline(OfflineSimulationMode.CONNECTION_TIMES_OUT			):
								with pytest.raises(_UpperCAmelCase			):
												requests.request("""GET"""     , """https://huggingface.co"""			)
								with pytest.raises(requests.exceptions.ConnectTimeout			):
												requests.request("""GET"""     , """https://huggingface.co"""     , timeout=1.0			)





@pytest.mark.integration
def        _lowercase   (  )  ->					Union[str, Any]:
				with offline(OfflineSimulationMode.CONNECTION_FAILS			):
								with pytest.raises(requests.exceptions.ConnectionError			):
												requests.request("""GET"""     , """https://huggingface.co"""			)





def        _lowercase   (  )  ->					int:
				with offline(OfflineSimulationMode.HF_DATASETS_OFFLINE_SET_TO_1			):
								with pytest.raises(_UpperCAmelCase			):
												http_head("""https://huggingface.co"""			)





