
"""simple docstring"""



_snake_case          =						8.31_44_62  # Unit - J mol-1 K-1






def 	__snake_case  (    SCREAMING_SNAKE_CASE:					float     ,  SCREAMING_SNAKE_CASE:					float     ,  SCREAMING_SNAKE_CASE:					float						):






       """simple docstring"""



       if moles < 0 or kelvin < 0 or volume < 0:
              raise ValueError('Invalid inputs. Enter positive value.'						)
       return moles * kelvin * UNIVERSAL_GAS_CONSTANT / volume






def 	__snake_case  (    SCREAMING_SNAKE_CASE:					float     ,  SCREAMING_SNAKE_CASE:					float     ,  SCREAMING_SNAKE_CASE:					float						):






       """simple docstring"""



       if moles < 0 or kelvin < 0 or pressure < 0:
              raise ValueError('Invalid inputs. Enter positive value.'						)
       return moles * kelvin * UNIVERSAL_GAS_CONSTANT / pressure


if __name__ == "__main__":
 from doctest import testmod

 testmod()








"""simple docstring"""



def 	__snake_case  (    SCREAMING_SNAKE_CASE:					str						):






							"""simple docstring"""



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






