• + 0 comments

    from collections import Counter

    if name == 'main': s = sorted(input()) z= Counter(s) z=Counter(s).most_common(3) for x in z: print(*x)