from numpy import * 
n = array(eval(input("notas:")))
a=0
for i in range(size(n)):
	if(n[i]>=5):
		a=a+1
b = zeros(a,dtype=int)
c=0
for j in range(size(n)):
	if(n[j]>=5):
		n[b]==i
		c=c+1
print(a)
print(b)

