





def 	lowerCAmelCase_					(			__a						)	->						bool:







  """simple docstring"""





  lowerCamelCase__: Tuple         =[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__":
     __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.')









class 					UpperCamelCase_ :



	'''simple docstring'''




	def __init__(			self			,     a   )			->       Tuple:
								snake_case_           =				n
								snake_case_           =				[None] * self.n
								snake_case_           =				0  # index of the first element
								snake_case_           =				0
								snake_case_           =				0




	def __len__(			self   )			->       int:
								return self.size




	def 				_UpperCamelCase     (			self   )			->       bool:
								return self.size == 0




	def 				_UpperCamelCase     (			self   )			->       List[Any]:
								return False if self.is_empty() else self.array[self.front]




	def 				_UpperCamelCase     (			self			,     a   )			->       Dict:
								if self.size >= self.n:
															raise Exception('QUEUE IS FULL'   )

								snake_case_           =				data
								snake_case_           =				(self.rear + 1) % self.n
								self.size += 1
								return self






	def 				_UpperCamelCase     (			self   )			->       List[Any]:
								if self.size == 0:
															raise Exception('UNDERFLOW'   )

								snake_case_           =				self.array[self.front]
								snake_case_           =				None
								snake_case_           =				(self.front + 1) % self.n
								self.size -= 1
								return temp





