



def    lowerCamelCase_(lowerCamelCase_    ) ->       bool:
						UpperCAmelCase         =     [int(lowerCamelCase_    ) for i in ip_va_address.split("."    ) if i.isdigit()]
						return len(lowerCamelCase_    ) == 4 and all(0 <= int(lowerCamelCase_    ) <= 254 for octet in octets    )


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








def    lowerCamelCase_(lowerCamelCase_ = 600_851_475_143    ) ->       int:

						try:
												UpperCAmelCase         =     int(lowerCamelCase_    )
						except (TypeError, ValueError):
												raise TypeError("Parameter n must be int or castable to int."    )
						if n <= 0:
												raise ValueError("Parameter n must be greater than or equal to one."    )
						UpperCAmelCase         =     1
						UpperCAmelCase         =     2
						while i * i <= n:
												while n % i == 0:
																		UpperCAmelCase         =     i
																		n //= i
												i += 1
						if n > 1:
												UpperCAmelCase         =     n
						return int(lowerCamelCase_    )


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



