from numpy import*
a = array(eval(input()))
b = zeros(37, dtype=int)
for i in range(size(a)):
	if a[i]==0:
		b[0]+=1
	if a[i] == 1: 
		b[1] += 1
	elif a[i] == 2:
		b[2] +=1
	elif a[i] == 3:
		b[3] +=1
	elif a[i] == 4:
		b[4] +=1
	elif a[i] ==5:
		b[5] +=1
	elif a[i]==6:
		b[6]+=1
	elif a[i]==7:
		b[7]+=1
	elif a[i]==8:
		b[8]+=1
	elif a[i]==9:
		b[9]+=1
	elif a[i]==10:
		b[10]+=1
	elif a[i]==11:
		b[11]+=1
	elif a[i] == 12:
		b[12]+=1
	elif a[i]==13:
		b[13]==1
	elif a[i]== 14:
		b[14]+=1
	elif a[i]==15:
		b[15] +=1
	elif a[i]==16:
		b[16]+=1
	elif a[i]==17:
		b[17]+=1
	elif a[i]==18:
		b[18]+=1
	elif a[i]==19:
		b[19]+=1
	elif a[i]==20:
		b[20]+=1
	elif a[i]==21:
		b[21]+=1
	elif a[i]==22:
		b[22]+=1
	elif a[i]==23:
		b[23]+=1
	elif a[i]==24:
		b[24]+=1
	elif a[i]==25:
		b[25]+=1
	elif a[i]==26:
		b[26]+=1
	elif a[i]==27:
		b[27]+=1
	elif a[i]==28:
		b[28]+=1
	elif a[i]==29:
		b[29]+=1
	elif a[i]==30:
		b[30]+=1
	elif a[i]==31:
		b[31]+=1
	elif a[i]==32:
		b[32]+=1
	elif a[i]==33:
		b[33]+=1
	elif a[i]==34:
		b[34]+=1
	elif a[i]==35:
		b[35]+=1
	elif a[i]==36:
		b[36]+=1
print(b)