set = {}
temp = 1
count = []
string = int(input())

string1 = string.split(' ')
arr = []

def strManipulation:
    for i in range[0, len(string1)]:
        for j in range[i+1, len(string1)]:
            if (string1[i] == string1[j]):
                count[i] = temp + 1
            else:
                count[i] = temp

    for i in range[0, len(string1)]:
        set = {string1[i]: count[i]}

    return set

strManipulation