





"""simple docstring"""



def 		__lowercase     (   snake_case_  :  List[str]						)   ->Union[str, Any]:



    '''simple docstring'''







    __A    :						Tuple						 =     [int(_A						) for i in ip_va_address.split('''.'''						) if i.isdigit()]
    return len(_A						) == 4 and all(0 <= int(_A						) <= 254 for octet in octets						)


if __name__ == "__main__":
       a_ =			input().strip()
       a_ =			"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


def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	snake_case_		    =     str(_A							)
	return len(_A							) == 9 and set(_A							) == set("123456789"							)


def 						lowerCamelCase__    (		):







	'''simple docstring'''





	for base_num in range(9999     ,	4999     ,	-1							):
		snake_case_		    =     100002 * base_num
		if is_9_pandigital(_A							):
			return candidate

	for base_num in range(333     ,	99     ,	-1							):
		snake_case_		    =     1002003 * base_num
		if is_9_pandigital(_A							):
			return candidate

	return None


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