


'''simple docstring'''



def   lowerCamelCase							(_SCREAMING_SNAKE_CASE				:       str       ):
					__a      :	Optional[Any]    =  [int(_SCREAMING_SNAKE_CASE       ) for i in ip_va_address.split('.'       ) if i.isdigit()]
					return len(_SCREAMING_SNAKE_CASE       ) == 4 and all(0 <= int(_SCREAMING_SNAKE_CASE       ) <= 254 for octet in octets       )


if __name__ == "__main__":
	__lowercase     :						Union[str, Any]	=     input().strip()
	__lowercase     :						Optional[Any]	=     'valid' if is_ip_va_address_valid(ip) else 'invalid'
	print(f'''{ip} is a {valid_or_invalid} IP v4 address.''')







'''simple docstring'''



from .imports import is_rich_available


if is_rich_available():
	from rich.traceback import install

	install(show_locals=False)

else:
	raise ModuleNotFoundError('To use the rich extension, install rich with `pip install rich`')



