





from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version
def 					_A	(		SCREAMING_SNAKE_CASE					:       Dict	,	SCREAMING_SNAKE_CASE					:       int	,	SCREAMING_SNAKE_CASE					:       str = None						):





  """simple docstring"""



  if version.parse(hfh.__version__						).release < version.parse("0.11.0"						).release:
    # old versions of hfh don't url-encode the file path
    a__     : List[Any]  =quote(__lowerCAmelCase						)
  return hfh.hf_hub_url(__lowerCAmelCase	,	__lowerCAmelCase	,	repo_type="dataset"	,	revision=__lowerCAmelCase						)













from maths.prime_check import is_prime
def 					_A	(		SCREAMING_SNAKE_CASE					:       int						):





  """simple docstring"""



  if not isinstance(SCREAMING_SNAKE_CASE	,	SCREAMING_SNAKE_CASE						):
    a__     : Dict  =f'''Input value of [number={number}] must be an integer'''
    raise TypeError(SCREAMING_SNAKE_CASE						)
  if is_prime(SCREAMING_SNAKE_CASE						) and is_prime(number + 2						):
    return number + 2
  else:
    return -1


if __name__ == "__main__":
     import doctest

     doctest.testmod()






