11 lines
309 B
Python
11 lines
309 B
Python
nbProduits = int(input())
|
|
nbPersonnes = int(input())
|
|
produits = [0] * nbProduits
|
|
|
|
for personne in range(nbPersonnes):
|
|
#print("Personne", personne +1, end=" : ")
|
|
idProduit = int(input())
|
|
produits[idProduit] = produits[idProduit] + 1
|
|
#print()
|
|
for loop in range(nbProduits):
|
|
print(produits[loop]) |