def name(params):
    Q = params
    T = 0
    for S in Q:
        if S > T:
            T = S
    G = [0]*(T+1)
    for S in Q:
        G[S] += 1
    return G
print(name([1,2,1,3,2,3,1,3,2,1,2,3,2,1]))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: