




from __future__ import annotations






def    snake_case(							__magic_name__					,						__magic_name__       )					->				list[list[int]]:





     '''simple docstring'''


     lowercase   :  list[list[int]]        =					[]
     lowercase   :  list[int]        =					[]
     lowercase   :  int        =					0
     lowercase   :  Union[str, Any]        =					sum(_UpperCAmelCase       )
     create_state_space_tree(_UpperCAmelCase					,						_UpperCAmelCase					,						_UpperCAmelCase					,						_UpperCAmelCase					,						_UpperCAmelCase					,						_UpperCAmelCase       )
     return result






def    snake_case(							__magic_name__					,						__magic_name__					,						__magic_name__					,						__magic_name__					,						__magic_name__					,						__magic_name__					,						)					->				None:





     '''simple docstring'''


     if sum(_UpperCAmelCase       ) > max_sum or (remaining_nums_sum + sum(_UpperCAmelCase       )) < max_sum:
          return
     if sum(_UpperCAmelCase       ) == max_sum:
          result.append(_UpperCAmelCase       )
          return
     for index in range(_UpperCAmelCase					,						len(_UpperCAmelCase       )       ):
          create_state_space_tree(
              _UpperCAmelCase					,						_UpperCAmelCase					,						index + 1					,						[*path, nums[index]]					,						_UpperCAmelCase					,						remaining_nums_sum - nums[index]					,						)
lowerCAmelCase_						 =					[3, 34, 4, 12, 5, 2]
lowerCAmelCase_						 =					9
lowerCAmelCase_						 =					generate_sum_of_subsets_soln(nums, max_sum)



print(*result)

def 		UpperCamelCase     (       _UpperCAmelCase  :   str  )   ->			bool:






						'''simple docstring'''

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


if __name__ == "__main__":
							UpperCamelCase_						:     Dict	       =							input().strip()
							UpperCamelCase_						:     List[Any]	       =							"""valid""" if is_ip_va_address_valid(ip) else """invalid"""
							print(f'''{ip} is a {valid_or_invalid} IP v4 address.''')




