from numpy import*

vet = array(eval(input("Lista:")))

z = zeros(37, dtype=int)

for i in range(size(vet)):
	if(vet[i] == 0):
		z[0] = z[0] + 1
	elif(vet[i] == 1):
		z[1] = z[1] + 1
	elif(vet[i] == 2):
		z[2] = z[2] + 1
	elif(vet[i] == 3):
		z[3] = z[3] + 1
	elif(vet[i] == 4):
		z[4] = z[4] + 1
	elif(vet[i] == 5):
		z[5] = z[5] + 1
	elif(vet[i] == 6):
		z[6] = z[6] + 1
	elif(vet[i] == 7):
		z[7] = z[7] + 1
	elif(vet[i] == 8):
		z[8] = z[8] + 1
	elif(vet[i] == 9):
		z[9] = z[9] + 1
	elif(vet[i] == 10):
		z[10] = z[10] + 1
	elif(vet[i] == 11):
		z[11] = z[11] + 1
	elif(vet[i] == 12):
		z[12] = z[12] + 1
	elif(vet[i] == 13):
		z[13] = z[13] + 1
	elif(vet[i] == 14):
		z[14] = z[14] + 1
	elif(vet[i] == 15):
		z[15] = z[15] + 1
	elif(vet[i] == 16):
		z[16] = z[16] + 1
	elif(vet[i] == 17):
		z[17] = z[17] + 1
	elif(vet[i] == 18):
		z[18] = z[18] + 1
	elif(vet[i] == 19):
		z[19] = z[19] + 1
	elif(vet[i] == 20):
		z[20] = z[20] + 1
	elif(vet[i] == 21):
		z[21] = z[21] + 1
	elif(vet[i] == 22):
		z[22] = z[22] + 1
	elif(vet[i] == 23):
		z[23] = z[23] + 1
	elif(vet[i]==24):
		z[24] = z[24] + 1
	elif(vet[i] == 25):
		z[25] = z[25] + 1
	elif(vet[i] == 26):
		z[26] = z[26] + 1
	elif(vet[i] == 27):
		z[27] = z[27] + 1
	elif(vet[i] == 28):
		z[28] = z[28] + 1
	elif(vet[i]==29):
		z[29] = z[29] + 1
	elif(vet[i] == 30):
		z[30] = z[30] + 1
	elif(vet[i] == 31):
		z[31] = z[31] + 1
	elif(vet[i] == 32):
		z[32] = z[32]+1
	elif(vet[i] == 33):
		z[33] = z[33] + 1
	elif(vet[i] == 34):
		z[34] = z[34] + 1
	elif(vet[i] == 35):
		z[35] = z[35] + 1
	elif(vet[i] == 36):
		z[36] = z[36] + 1
		
		
print(z)