


"""simple docstring"""




from __future__ import annotations





def       a_ (	lowercase__ :str     ):
			return [ord(lowercase__     ) - 96 for elem in plain]





def       a_ (	lowercase__ :list[int]     ):
			return "".join(chr(elem + 96     ) for elem in encoded     )





def       a_ (	):
			__lowerCamelCase          =      encode(input("""-> """     ).strip().lower()     )
			print("""Encoded: """,			lowercase__     )
			print("""Decoded:""",			decode(lowercase__     )     )


if __name__ == "__main__":
					main()








"""simple docstring"""




def       a_ (	lowercase__ :str     ):
			__lowerCamelCase          =      [int(lowercase__     ) for i in ip_va_address.split("""."""     ) if i.isdigit()]
			return len(lowercase__     ) == 4 and all(0 <= int(lowercase__     ) <= 254 for octet in octets     )


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




