A,B,C,D,E,NO,__ = 0,0,0,0,0,0,0 while True: try: n = input().split('~') zi = n[0] yan = n[1] res_list = zi.split('.') res_list1 = yan.split('.') &...