#input


inputString = input("Enter a string: ").casefold()


#process


tempStr = ''

for char in inputString:

    if char not in tempStr:

        #output

        print(char, ', ', inputString.count(char))

        tempStr = tempStr + char

bcffbd52f86fa78394a78d6860b3655cf45fc26a
<mask token>

<mask token>
for char in inputString:
    if char not in tempStr:
        print(char, ', ', inputString.count(char))
        tempStr = tempStr + char

inputString = input('Enter a string: ').casefold()
tempStr = ''
for char in inputString:
    if char not in tempStr:
        print(char, ', ', inputString.count(char))
        tempStr = tempStr + char

#input


inputString = input("Enter a string: ").casefold()


#process


tempStr = ''

for char in inputString:

    if char not in tempStr:

        #output

        print(char, ', ', inputString.count(char))

        tempStr = tempStr + char
