from random import randint
mas = [0] * 10
for j in range (0, 10):
	s = randint(1, 5)
	mas[j] = s
print (mas)
t = 0
for j in range(0, 10):
	if mas[j] == 3:
		t = t + 1
print (t)