




def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	snake_case_		    =     [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__":
		lowercase__				:     str 		=						input().strip()
		lowercase__				:     str 		=						"valid" if is_ip_va_address_valid(ip) else "invalid"
		print(f'''{ip} is a {valid_or_invalid} IP v4 address.''')






def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	if num <= 0:
		raise ValueError("Input must be a positive integer"							)

	snake_case_		    =     [True] * (num + 1)

	snake_case_		    =     2
	while p * p <= num:
		if primes[p]:
			for i in range(p * p     ,	num + 1     ,	_A							):
				snake_case_		    =     False
		p += 1

	return [prime for prime in range(2     ,	num + 1							) if primes[prime]]


if __name__ == "__main__":
		import doctest

		doctest.testmod()

		lowercase__				:     Tuple 		=						int(input("Enter a positive integer: ").strip())
		print(prime_sieve_eratosthenes(user_num))
