



"""simple docstring"""




def 		__snake_case		( SCREAMING_SNAKE_CASE__      :		str							)    ->  bool:





     '''simple docstring'''

     _UpperCAmelCase     :      Dict														=       [int(SCREAMING_SNAKE_CASE__							) for i in ip_va_address.split("."							) if i.isdigit()]
     return len(SCREAMING_SNAKE_CASE__							) == 4 and all(0 <= int(SCREAMING_SNAKE_CASE__							) <= 254 for octet in octets							)


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





"""simple docstring"""




def 		__snake_case		( SCREAMING_SNAKE_CASE__      :		str							)    ->  bool:





     '''simple docstring'''

     _UpperCAmelCase     :      str														=       0
     for ch in input_str:
          _UpperCAmelCase     :      Optional[int]														=       ord(SCREAMING_SNAKE_CASE__							)
          _UpperCAmelCase     :      int														=       pow(2		,    SCREAMING_SNAKE_CASE__							)

          # If we already turned on bit for current character's unicode
          if bitmap >> ch_unicode & 1 == 1:
               return False
          bitmap |= ch_bit_index_on
     return True


if __name__ == "__main__":
 import doctest

 doctest.testmod()
