• + 0 comments
    c = Counter(sorted(input()))
    for char,freq in c.most_common()[:3]:
      print(char,freq)