while True: try: #IP地址转整数: s = input().split('.') s = [bin(int(i))[2:].rjust(8,'0') for i in...