



def      __lowercase       (			a__       )    ->			bool:
							__SCREAMING_SNAKE_CASE									= [int(a__       ) for i in ip_va_address.split('.'       ) if i.isdigit()]
							return len(a__       ) == 4 and all(0 <= int(a__       ) <= 2_54 for octet in octets       )


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











lowerCAmelCase__		:					Optional[int]							=9.80_665






def      __lowercase       (			a__							,       a__							,       a__ = g       )    ->			float:

							if fluid_density <= 0:
														raise ValueError('Impossible fluid density'       )
							if volume < 0:
														raise ValueError('Impossible Object volume'       )
							if gravity <= 0:
														raise ValueError('Impossible Gravity'       )

							return fluid_density * gravity * volume


if __name__ == "__main__":
			import doctest

			# run doctest
			doctest.testmod()






