a=input().strip('.').split('.') m=['01','02','03','04','05','06','07','08','09'] for k in range(4): if len(a)!=4 or a[int(k)] in m : print('NO') exit() else: for j in a: if j=='' or not j.isdigit(): print('NO') exit() for i in a: i=int(i) if len(str(bin(i)))<=10: continue else: print('NO') exit()...