while True: try: from collections import Counter list1 = input().split(' ') # print(list1) &...