"""simple docstring"""




def 							SCREAMING_SNAKE_CASE     (			_lowerCamelCase						:       str	)       ->      bool:
  _lowerCAmelCase						:       Dict  			=     [int(_lowerCamelCase	) for i in ip_va_address.split("""."""	) if i.isdigit()]
  return len(_lowerCamelCase	) == 4 and all(0 <= int(_lowerCamelCase	) <= 254 for octet in octets	)


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






from collections.abc import Sequence






def        a_		(       __lowercase   :	Sequence[float]       ,					__lowercase   :	float ) ->  float:
			return sum(c * (x**i) for i, c in enumerate(__lowercase ) )






def        a_		(       __lowercase   :	Sequence[float]       ,					__lowercase   :	float ) ->  float:
			_snake_case		=			0.0
			for coeff in reversed(__lowercase ):
						_snake_case		=			result * x + coeff
			return result


if __name__ == "__main__":
			_lowerCamelCase       :				Optional[Any]       =			(0.0, 0.0, 5.0, 9.3, 7.0)
			_lowerCamelCase       :				Optional[int]       =			1_0.0
			print(evaluate_poly(poly, x))
			print(horner(poly, x))