


'''simple docstring'''

def _SCREAMING_SNAKE_CASE (A    ,					A			)			->			str:






       """simple docstring"""







       if a < 0 or b < 0:
              raise ValueError('''the value of both inputs must be positive'''			)
       lowercase__      =					str(bin(A			)			)[2:]  # remove the leading "0b"
       lowercase__      =					str(bin(A			)			)[2:]
       lowercase__      =					max(len(A			)    ,					len(A			)			)
       return "0b" + "".join(
           str(int('''1''' in (char_a, char_b)			)			)
           for char_a, char_b in zip(a_binary.zfill(A			)    ,					b_binary.zfill(A			)			)			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()








'''simple docstring'''

def _SCREAMING_SNAKE_CASE (A			)			->			bool:






       """simple docstring"""







       lowercase__      =					[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__":
 lowerCamelCase				:  Optional[Any]    		=      input().strip()
 lowerCamelCase				:  Union[str, Any]    		=      'valid' if is_ip_va_address_valid(ip) else 'invalid'
 print(f"""{ip} is a {valid_or_invalid} IP v4 address.""")




