input (n)
somma_voti=0
for i da 1 a n
	input (voto)
	somma_voti=somma_voti+voto
end for
media=somma_voti/n
output (media)
