import random 
import sys

	kodikas_str = """

	def vres_megisto(lista):
			megisto_stoixeio = lista[0]
			for arithmos in lista:
		if arithmos > megisto_stoixeio:
			megisto_stoixeio = arithmos
				return megisto_stoixeio
"""
exec(kodikas_str)

if __name__ =="__main__":
	try:
		sys.stdout.reconfigure(encoding='utf-8')
	except AttributeError:
		pass


	tyxaia_lista = []
	for _ in range(10):
		tyxaia_lista.append(random.randrange(1,11))
	apotelesma = vres_megisto(tyxaia_lista)

	print(f"lista: {tyxaia_lista}")
	print(f"megisto stoixeio: {apotelesma}")
