string = list(input())
many = set(string)
[print(i, '-', string.count(i)) for i in many]
Пробел тоже символ
string = list(input())
many = set(string)
[print(i, '-', string.count(i)) for i in many]
Пробел тоже символ