





def      _A       (		SCREAMING_SNAKE_CASE     :   str						):





  """simple docstring"""



  a__	:					Optional[int]										=[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__":
     UpperCAmelCase	:	Optional[int]		     =       input().strip()
     UpperCAmelCase	:	Optional[int]		     =       """valid""" if is_ip_va_address_valid(ip) else """invalid"""
     print(F"""{ip} is a {valid_or_invalid} IP v4 address.""")













import numpy as np
def      _A       (		SCREAMING_SNAKE_CASE     :   np.array						):





  """simple docstring"""



  return 1 / (1 + np.exp(-vector						))


if __name__ == "__main__":
     import doctest

     doctest.testmod()






