






"""simple docstring"""



def      _lowerCAmelCase		(							UpperCAmelCase__       :					str      )		->bool:
		A__						:  List[Any]		  =  [int(UpperCAmelCase__      ) for i in ip_va_address.split("""."""      ) if i.isdigit()]
		return len(UpperCAmelCase__      ) == 4 and all(0 <= int(UpperCAmelCase__      ) <= 2_5_4 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.')














"""simple docstring"""



import baseaa




def      _lowerCAmelCase		(							UpperCAmelCase__       :					str      )		->bytes:
						return baseaa.baaencode(string.encode("""utf-8"""      )      )




def      _lowerCAmelCase		(							UpperCAmelCase__       :					bytes      )		->str:
						return baseaa.baadecode(UpperCAmelCase__      ).decode("""utf-8"""      )


if __name__ == "__main__":
						A_    =							'''Hello World!'''
						A_    =							baseaa_encode(test)
						print(encoded)

						A_    =							baseaa_decode(encoded)
						print(decoded)






