def 				__lowerCamelCase		(						lowerCAmelCase__     ):
       lowerCAmelCase__					     = [int(lowerCAmelCase__     ) for i in ip_va_address.split('.'     ) if i.isdigit()]
       return len(lowerCAmelCase__     ) == 4 and all(0 <= int(lowerCAmelCase__     ) <= 2_5_4 for octet in octets     )


if __name__ == "__main__":
    lowerCAmelCase__     						=			input().strip()
    lowerCAmelCase__     						=			'valid' if is_ip_va_address_valid(ip) else 'invalid'
    print(F'{ip} is a {valid_or_invalid} IP v4 address.')

def 				__lowerCamelCase		(						lowerCAmelCase__     ):
       lowerCAmelCase__					     = len(lowerCAmelCase__     )
       for i in range(lowerCAmelCase__     ):
              for j in range(i + 1     ,  lowerCAmelCase__     ):
                     if numbers[j] < numbers[i]:
                            lowerCAmelCase__     , lowerCAmelCase__					     = numbers[j], numbers[i]
       return numbers


if __name__ == "__main__":
    lowerCAmelCase__     						=			input('Enter numbers separated by a comma:\n').strip()
    lowerCAmelCase__     						=			[int(item) for item in user_input.split(',')]
    print(exchange_sort(unsorted))
