# your code goes here
x = ['123', '456', '789']
valores = [int(val) for val in x]
media = sum(valores) / len(valores)
print(media)
mediana = sum(valores) / 2
print(mediana)
valores.sort()
menor = valores[0] # Primeiro valor da lista
print(menor)
maior = valores[-1] # Ultimo valor da lista
print(maior)
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCgp4ID0gWycxMjMnLCAnNDU2JywgJzc4OSddCnZhbG9yZXMgPSBbaW50KHZhbCkgZm9yIHZhbCBpbiB4XQoKbWVkaWEgPSBzdW0odmFsb3JlcykgLyBsZW4odmFsb3JlcykKcHJpbnQobWVkaWEpCgptZWRpYW5hID0gc3VtKHZhbG9yZXMpIC8gMgpwcmludChtZWRpYW5hKQoKdmFsb3Jlcy5zb3J0KCkKbWVub3IgPSB2YWxvcmVzWzBdICMgUHJpbWVpcm8gdmFsb3IgZGEgbGlzdGEKcHJpbnQobWVub3IpCgptYWlvciA9IHZhbG9yZXNbLTFdICMgVWx0aW1vIHZhbG9yIGRhIGxpc3RhCnByaW50KG1haW9yKQ==