<reponame>H35am/pythonRelated

counts = dict()
print ('Put line here')
line = input('')

words = line.split()
print ('Words:', words)

print ('Counting....')
for word in words:
    counts[word] = counts.get(word,0) + 1

print ('Counts:', counts)

counts = dict()
print ('Put line here')
line = input('')

words = line.split()
print ('Words:', words)

print ('Counting....')
for word in words:
    counts[word] = counts.get(word,0) + 1

print ('Counts:', counts)