

def     lowerCAmelCase__							(		SCREAMING_SNAKE_CASE_:							Tuple					)	->					bool:




				'''simple docstring'''





				A__						=	[int(__lowerCAmelCase					) for i in ip_va_address.split("."					) if i.isdigit()]
				return len(__lowerCAmelCase					) == 4 and all(0 <= int(__lowerCAmelCase					) <= 2_5_4 for octet in octets					)


if __name__ == "__main__":
	lowerCAmelCase__		      =       input().strip()
	lowerCAmelCase__		      =       """valid""" if is_ip_va_address_valid(ip) else """invalid"""
	print(f"""{ip} is a {valid_or_invalid} IP v4 address.""")









from __future__ import annotations

import collections
import pprint
from pathlib import Path


def __A    (      __lowerCAmelCase	)->  str:





						"""simple docstring"""



						return "".join(sorted(__lowerCAmelCase	)	)


def __A    (      __lowerCAmelCase	)->  list[str]:





						"""simple docstring"""



						return word_by_signature[signature(__lowerCAmelCase	)]


_a      	=  Path(__file__).parent.joinpath('''words.txt''').read_text(encoding='''utf-8''')
_a      	=  sorted({word.strip().lower() for word in data.splitlines()})

_a      	=  collections.defaultdict(list)
for word in word_list:
		word_by_signature[signature(word)].append(word)

if __name__ == "__main__":
		_a      	=  {word: anagram(word) for word in word_list if len(anagram(word)) > 1}

		with open('''anagrams.txt''', '''w''') as file:
				file.write('''all_anagrams = \n ''')
				file.write(pprint.pformat(all_anagrams))
