'''simple docstring'''





import os
import unittest

import pytest
from parameterized import parameterized

from transformers.testing_utils import require_torch, require_torch_gpu, slow, torch_device


# skipping in unittest tests

UpperCamelCase    :			Union[str, Any]						     =  [(1,)]






def SCREAMING_SNAKE_CASE__   (							)					->							str:







     """simple docstring"""
     a :				Union[str, Any]				=      bool(os.getenv('RUN_SLOW'							,     0   )   )
     if run_slow:
          assert True
     else:
          assert False, "should have been skipped"






def SCREAMING_SNAKE_CASE__   (							)					->							Union[str, Any]:







     """simple docstring"""
     a :				Any				=      bool(os.getenv('RUN_SLOW'							,     0   )   )
     if run_slow and torch_device == "cuda":
          assert True
     else:
          assert False, "should have been skipped"



@require_torch
class    UpperCamelCase (    unittest.TestCase    ):







    """simple docstring"""





    @slow
    @require_torch_gpu
    def 					SCREAMING_SNAKE_CASE_			( self			:		str):


         """simple docstring"""







         check_slow_torch_cuda()





    @require_torch_gpu
    @slow
    def 					SCREAMING_SNAKE_CASE_			( self			:		Optional[int]):


         """simple docstring"""







         check_slow_torch_cuda()







    @parameterized.expand(_UpperCamelCase)
    @slow
    def 					SCREAMING_SNAKE_CASE_			( self			:		Tuple				,				UpperCAmelCase_			:		List[str]=None):


         """simple docstring"""







         check_slow()






@slow
@require_torch_gpu
def SCREAMING_SNAKE_CASE__   (							)					->							int:







     """simple docstring"""
     check_slow_torch_cuda()






@require_torch_gpu
@slow
def SCREAMING_SNAKE_CASE__   (							)					->							Any:







     """simple docstring"""
     check_slow_torch_cuda()






@slow
@pytest.mark.parametrize('param'							,     [1]   )
def SCREAMING_SNAKE_CASE__   (							snake_case    :							List[Any]   )					->							int:







     """simple docstring"""
     check_slow()






@pytest.mark.parametrize('param'							,     [1]   )
@slow
def SCREAMING_SNAKE_CASE__   (							snake_case    :							Dict   )					->							Dict:







     """simple docstring"""
     check_slow()


import math





def 		__lowerCamelCase							(UpperCAmelCase__   :							int     ):

					if 1 < number < 4:
										# 2 and 3 are primes
										return True
					elif number < 2 or number % 2 == 0 or number % 3 == 0:
										# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
										return False

					# All primes number are in format of 6k +/- 1
					for i in range(5					,       int(math.sqrt(UpperCAmelCase__     ) + 1     )					,       6     ):
										if number % i == 0 or number % (i + 2) == 0:
															return False
					return True





def 		__lowerCamelCase							(UpperCAmelCase__   :							int = 2_0_0_0_0_0_0     ):
					return sum(num for num in range(3					,       UpperCAmelCase__					,       2     ) if is_prime(UpperCAmelCase__     )     ) + 2 if n > 2 else 0


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




