line="hai hello hai hello hai"
word=line.split(" ")
dic={}
for i in word:
    if((i in dic)==False):
        dic[i]=1
    else:
        dic[i]+=1


for i in dic:
    print(i,dic[i])
ee7aa7565068d03620f05d6f227a5941f2783a21
<mask token>

<mask token>
for i in word:
    if (i in dic) == False:
        dic[i] = 1
    else:
        dic[i] += 1
for i in dic:
    print(i, dic[i])

line = 'hai hello hai hello hai'
word = line.split(' ')
dic = {}
for i in word:
    if (i in dic) == False:
        dic[i] = 1
    else:
        dic[i] += 1
for i in dic:
    print(i, dic[i])

line="hai hello hai hello hai"
word=line.split(" ")
dic={}
for i in word:
    if((i in dic)==False):
        dic[i]=1
    else:
        dic[i]+=1


for i in dic:
    print(i,dic[i])