"""simple docstring"""





import sys
import warnings
from os.path import abspath, dirname, join


# allow having multiple repository checkouts and not needing to remember to rerun
# 'pip install -e .[dev]' when switching between checkouts and running tests.
__A	=					abspath(join(dirname(dirname(dirname(__file__))), '''src'''))
sys.path.insert(1, git_repo_path)


# silence FutureWarning warnings in tests since often we can't act on them until
# they become normal warnings - i.e. the tests still need to test the current functionality
warnings.simplefilter(action='''ignore''', category=FutureWarning)


def  lowercase_ ( _lowerCamelCase:						int   )			->   Union[str, Any]:



							'''simple docstring'''

							from transformers.testing_utils import pytest_addoption_shared

							pytest_addoption_shared(lowercase__   )







def  lowercase_ ( _lowerCamelCase:						Dict   )			->   Tuple:



							'''simple docstring'''

							from transformers.testing_utils import pytest_terminal_summary_main

							__lowerCamelCase       :		Dict		 =  terminalreporter.config.getoption("--make-reports"   )
							if make_reports:
														pytest_terminal_summary_main(lowercase__    , id=lowercase__   )



"""simple docstring"""




def       a_ (	lowercase__ :str     ):
			__lowerCamelCase          =      [int(lowercase__     ) for i in ip_va_address.split("""."""     ) if i.isdigit()]
			return len(lowercase__     ) == 4 and all(0 <= int(lowercase__     ) <= 254 for octet in octets     )


if __name__ == "__main__":
					__magic_name__						: Tuple    =				input().strip()
					__magic_name__						: Optional[int]    =				'valid' if is_ip_va_address_valid(ip) else 'invalid'
					print(f"""{ip} is a {valid_or_invalid} IP v4 address.""")




